diff options
Diffstat (limited to 'arch/ppc/kernel/setup.c')
-rw-r--r-- | arch/ppc/kernel/setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index fae6335193ef..6bcb85d2b7fd 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -87,6 +87,9 @@ extern void chrp_init(unsigned long r3, unsigned long r4, | |||
87 | dev_t boot_dev; | 87 | dev_t boot_dev; |
88 | #endif /* CONFIG_PPC_MULTIPLATFORM */ | 88 | #endif /* CONFIG_PPC_MULTIPLATFORM */ |
89 | 89 | ||
90 | int have_of; | ||
91 | EXPORT_SYMBOL(have_of); | ||
92 | |||
90 | #ifdef __DO_IRQ_CANON | 93 | #ifdef __DO_IRQ_CANON |
91 | int ppc_do_canonicalize_irqs; | 94 | int ppc_do_canonicalize_irqs; |
92 | EXPORT_SYMBOL(ppc_do_canonicalize_irqs); | 95 | EXPORT_SYMBOL(ppc_do_canonicalize_irqs); |
@@ -420,6 +423,8 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
420 | } | 423 | } |
421 | #endif | 424 | #endif |
422 | 425 | ||
426 | have_of = 1; | ||
427 | |||
423 | /* prom_init has already been called from __start */ | 428 | /* prom_init has already been called from __start */ |
424 | if (boot_infos) | 429 | if (boot_infos) |
425 | relocate_nodes(); | 430 | relocate_nodes(); |
@@ -735,7 +740,7 @@ void __init setup_arch(char **cmdline_p) | |||
735 | #endif | 740 | #endif |
736 | 741 | ||
737 | #ifdef CONFIG_XMON | 742 | #ifdef CONFIG_XMON |
738 | xmon_map_scc(); | 743 | xmon_init(1); |
739 | if (strstr(cmd_line, "xmon")) | 744 | if (strstr(cmd_line, "xmon")) |
740 | xmon(NULL); | 745 | xmon(NULL); |
741 | #endif /* CONFIG_XMON */ | 746 | #endif /* CONFIG_XMON */ |