ARM: OMAP: Mask interrupts when disabling interrupts, v2
author김규원 <chammoru@gmail.com>
Thu, 29 Jan 2009 16:57:17 +0000 (08:57 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 29 Jan 2009 17:27:00 +0000 (09:27 -0800)
commit5461af5af5c6a7fee78978aafe720541bf3a2f55
tree3d158565665fed235179065bfc7f293720b6c809
parentdf88acbbdc48d0bfe2a46bf2561d984b6d87a9ac
ARM: OMAP: Mask interrupts when disabling interrupts, v2

By Ingo Molnar, interrupts are not masked by default.
(refer to 76d2160147f43f982dfe881404cfde9fd0a9da21)

But if interrupts are not masked, the processor can wake up while in
Suspend-to-RAM state by an external interrupt. For example, if an
OMAP3 board is connected to Host PC by USB and entered to Suspend-to-RAM
state, it wake up automatically by M_IRQ_92. The disable_irq() function
can't disable the interrupt in H/W level, So I modified
arch/arm/mach-omap2/irq.c

Signed-off-by: Kim Kyuwon <chammoru@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/irq.c