aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-wakeupgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/omap-wakeupgen.c')
-rw-r--r--arch/arm/mach-omap2/omap-wakeupgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c b/arch/arm/mach-omap2/omap-wakeupgen.c
index 3664562f9148..693fe486e917 100644
--- a/arch/arm/mach-omap2/omap-wakeupgen.c
+++ b/arch/arm/mach-omap2/omap-wakeupgen.c
@@ -138,7 +138,7 @@ static void wakeupgen_mask(struct irq_data *d)
138 unsigned long flags; 138 unsigned long flags;
139 139
140 raw_spin_lock_irqsave(&wakeupgen_lock, flags); 140 raw_spin_lock_irqsave(&wakeupgen_lock, flags);
141 _wakeupgen_clear(d->irq, irq_target_cpu[d->irq]); 141 _wakeupgen_clear(d->hwirq, irq_target_cpu[d->hwirq]);
142 raw_spin_unlock_irqrestore(&wakeupgen_lock, flags); 142 raw_spin_unlock_irqrestore(&wakeupgen_lock, flags);
143} 143}
144 144
@@ -150,7 +150,7 @@ static void wakeupgen_unmask(struct irq_data *d)
150 unsigned long flags; 150 unsigned long flags;
151 151
152 raw_spin_lock_irqsave(&wakeupgen_lock, flags); 152 raw_spin_lock_irqsave(&wakeupgen_lock, flags);
153 _wakeupgen_set(d->irq, irq_target_cpu[d->irq]); 153 _wakeupgen_set(d->hwirq, irq_target_cpu[d->hwirq]);
154 raw_spin_unlock_irqrestore(&wakeupgen_lock, flags); 154 raw_spin_unlock_irqrestore(&wakeupgen_lock, flags);
155} 155}
156 156