diff options
Diffstat (limited to 'arch/ppc64/kernel/setup.c')
-rw-r--r-- | arch/ppc64/kernel/setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/ppc64/kernel/setup.c b/arch/ppc64/kernel/setup.c index d1b33f0b26cb..687e85595208 100644 --- a/arch/ppc64/kernel/setup.c +++ b/arch/ppc64/kernel/setup.c | |||
@@ -694,7 +694,6 @@ void machine_restart(char *cmd) | |||
694 | local_irq_disable(); | 694 | local_irq_disable(); |
695 | while (1) ; | 695 | while (1) ; |
696 | } | 696 | } |
697 | EXPORT_SYMBOL(machine_restart); | ||
698 | 697 | ||
699 | void machine_power_off(void) | 698 | void machine_power_off(void) |
700 | { | 699 | { |
@@ -707,7 +706,6 @@ void machine_power_off(void) | |||
707 | local_irq_disable(); | 706 | local_irq_disable(); |
708 | while (1) ; | 707 | while (1) ; |
709 | } | 708 | } |
710 | EXPORT_SYMBOL(machine_power_off); | ||
711 | 709 | ||
712 | void machine_halt(void) | 710 | void machine_halt(void) |
713 | { | 711 | { |
@@ -720,7 +718,6 @@ void machine_halt(void) | |||
720 | local_irq_disable(); | 718 | local_irq_disable(); |
721 | while (1) ; | 719 | while (1) ; |
722 | } | 720 | } |
723 | EXPORT_SYMBOL(machine_halt); | ||
724 | 721 | ||
725 | static int ppc64_panic_event(struct notifier_block *this, | 722 | static int ppc64_panic_event(struct notifier_block *this, |
726 | unsigned long event, void *ptr) | 723 | unsigned long event, void *ptr) |
@@ -1071,6 +1068,8 @@ void __init setup_arch(char **cmdline_p) | |||
1071 | irqstack_early_init(); | 1068 | irqstack_early_init(); |
1072 | emergency_stack_init(); | 1069 | emergency_stack_init(); |
1073 | 1070 | ||
1071 | stabs_alloc(); | ||
1072 | |||
1074 | /* set up the bootmem stuff with available memory */ | 1073 | /* set up the bootmem stuff with available memory */ |
1075 | do_init_bootmem(); | 1074 | do_init_bootmem(); |
1076 | sparse_init(); | 1075 | sparse_init(); |