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>
This commit is contained in:
@@ -33,9 +33,6 @@ static inline void arch_reset(char mode, const char *cmd)
|
||||
case 'h':
|
||||
printk(KERN_CRIT "RESET: Rebooting system\n");
|
||||
|
||||
/* Disable interrupts */
|
||||
local_irq_disable();
|
||||
|
||||
lpc32xx_watchdog_reset();
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user