All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc32: enabling of the 2nd CPU in 2.6.18-rc4
@ 2006-08-24 20:44 Krzysztof Helt
  2006-08-25  7:47 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Helt @ 2006-08-24 20:44 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

From: Krzysztof Helt (krzysztof.h1@wp.pl)

This is smp_setup_cpu_possible_map() move after the patch did by
davem to sparc64.

Signed-off-by: Krzysztof Helt (krzysztof.h1@wp.pl)
---
This boots up the second CPU on my SS20. It is diff-ed agains
2.6.18-rc4 kernel, so maybe it was already posted by someone.

Regards,
Krzysztof


----------------------------------------------------
Games Convention Lipsk 23-27.08.2006 - Nie możesz tam być?
Zobacz relacje na żywo:
http://klik.wp.pl/?adr=www.gc2006.gry.wp.pl&sid=852

[-- Attachment #2: sparc32-smp-fix.diff --]
[-- Type: application/octet-stream, Size: 456 bytes --]

--- linux-2.6.17/arch/sparc/kernel/setup.c	2006-08-09 23:12:53.000000000 +0200
+++ linux-2.6.17smp/arch/sparc/kernel/setup.c	2006-08-24 22:13:56.000000000 +0200
@@ -348,9 +348,9 @@ void __init setup_arch(char **cmdline_p)
 	init_mm.context = (unsigned long) NO_CONTEXT;
 	init_task.thread.kregs = &fake_swapper_regs;
 
-	smp_setup_cpu_possible_map();
-
 	paging_init();
+
+	smp_setup_cpu_possible_map();
 }
 
 static int __init set_preferred_console(void)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-25  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 20:44 [PATCH] sparc32: enabling of the 2nd CPU in 2.6.18-rc4 Krzysztof Helt
2006-08-25  7:47 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.