aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2005-10-21 01:43:42 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-21 08:47:09 -0400
commitb0faa28493f97b55b36ff5b1a2b8c81bf253a460 (patch)
treec7735210c0de8f21bc91e5ef19b5ba930411a2c4 /arch
parent5d14a18d59b661356409e5a1f624236155a209ba (diff)
[PATCH] Fix broken initialization of conswitchp for ARCH=ppc64
In the merge tree, commit 0458060c1c59c5378d8fb5daabe18cf4681c35cd broke boot on some machines because the initialization of conswitchp was moved to arch/powerpc/kernel/setup_64.c, but a corresponding copy was not added to arch/ppc64/kernel/setup.c. This patch fixes it. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc64/kernel/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/setup.c b/arch/ppc64/kernel/setup.c
index 42019be0c6ad..b7885028fcf1 100644
--- a/arch/ppc64/kernel/setup.c
+++ b/arch/ppc64/kernel/setup.c
@@ -1039,6 +1039,10 @@ void __init setup_arch(char **cmdline_p)
1039 /* initialize the syscall map in systemcfg */ 1039 /* initialize the syscall map in systemcfg */
1040 setup_syscall_map(); 1040 setup_syscall_map();
1041 1041
1042#ifdef CONFIG_DUMMY_CONSOLE
1043 conswitchp = &dummy_con;
1044#endif
1045
1042 ppc_md.setup_arch(); 1046 ppc_md.setup_arch();
1043 1047
1044 /* Use the default idle loop if the platform hasn't provided one. */ 1048 /* Use the default idle loop if the platform hasn't provided one. */