diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-31 10:34:31 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-17 12:09:30 -0500 |
commit | 6a6f1efaced2ca7f8cd581a220af428c6bfc909d (patch) | |
tree | e1059901f3972c5870831cb301a131c953bd7464 /arch/arm/mach-u300 | |
parent | 1ea6b8f48918282bdca0b32a34095504ee65bab5 (diff) |
ARM: restart: remove local_irq_disable() from within arch_reset()
IRQs are already disabled by the time arch_reset() is called, so these
calls to local_irq_disable() instead arch_reset() are redundant. Remove
them.
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/include/mach/system.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-u300/include/mach/system.h b/arch/arm/mach-u300/include/mach/system.h index 8daf13634ce0..6b6fef7a438c 100644 --- a/arch/arm/mach-u300/include/mach/system.h +++ b/arch/arm/mach-u300/include/mach/system.h | |||
@@ -27,8 +27,6 @@ static void arch_reset(char mode, const char *cmd) | |||
27 | case 's': | 27 | case 's': |
28 | case 'h': | 28 | case 'h': |
29 | printk(KERN_CRIT "RESET: shutting down/rebooting system\n"); | 29 | printk(KERN_CRIT "RESET: shutting down/rebooting system\n"); |
30 | /* Disable interrupts */ | ||
31 | local_irq_disable(); | ||
32 | #ifdef CONFIG_COH901327_WATCHDOG | 30 | #ifdef CONFIG_COH901327_WATCHDOG |
33 | coh901327_watchdog_reset(); | 31 | coh901327_watchdog_reset(); |
34 | #endif | 32 | #endif |