diff options
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index eeb3e16c6046..17859ce4e7be 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -117,14 +117,8 @@ void soft_restart(unsigned long addr) | |||
117 | cpu_reset(addr); | 117 | cpu_reset(addr); |
118 | } | 118 | } |
119 | 119 | ||
120 | void arm_machine_restart(char mode, const char *cmd) | 120 | static void null_restart(char mode, const char *cmd) |
121 | { | 121 | { |
122 | /* Disable interrupts first */ | ||
123 | local_irq_disable(); | ||
124 | local_fiq_disable(); | ||
125 | |||
126 | /* Call the architecture specific reboot code. */ | ||
127 | arch_reset(mode, cmd); | ||
128 | } | 122 | } |
129 | 123 | ||
130 | /* | 124 | /* |
@@ -133,7 +127,7 @@ void arm_machine_restart(char mode, const char *cmd) | |||
133 | void (*pm_power_off)(void); | 127 | void (*pm_power_off)(void); |
134 | EXPORT_SYMBOL(pm_power_off); | 128 | EXPORT_SYMBOL(pm_power_off); |
135 | 129 | ||
136 | void (*arm_pm_restart)(char str, const char *cmd) = arm_machine_restart; | 130 | void (*arm_pm_restart)(char str, const char *cmd) = null_restart; |
137 | EXPORT_SYMBOL_GPL(arm_pm_restart); | 131 | EXPORT_SYMBOL_GPL(arm_pm_restart); |
138 | 132 | ||
139 | static void do_nothing(void *unused) | 133 | static void do_nothing(void *unused) |