]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP3: Mask interrupts when disabling interrupts
author김규원 <chammoru@gmail.com>
Tue, 6 Jan 2009 02:59:42 +0000 (11:59 +0900)
committerTony Lindgren <tony@atomide.com>
Fri, 9 Jan 2009 12:03:16 +0000 (14:03 +0200)
commit023ae898bbbed8c2bc4d38bfbd05d2fee91c3468
tree8e06ae09b9ae5c02c5a0590f7733200f39597356
parentf2afacf5dfe0e69eb41f38f82a46436c6438b674
ARM: OMAP3: Mask interrupts when disabling interrupts

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