aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/irq.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-07-13 19:37:29 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-13 19:37:29 -0400
commita23f4636c9ae7f1f15c448080f1552864b404136 (patch)
tree775049f3486be9eed2261515c55abb14bdbc4d73 /arch/arm/kernel/irq.c
parentfc818301a8a39fedd7f0a71f878f29130c72193d (diff)
parent5cbc1b6f66313111f64e779bf1df3799bf5c2df8 (diff)
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] arch/arm/kernel/bios32.c: no need to set isa_bridge [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 [ARM] 3725/1: sharpsl_pm: warn about wrong temperature [ARM] 3723/1: collie charging [ARM] 3728/1: Restore missing CPU Hotplug irq helper [ARM] 3727/1: fix ucb initialization on collie [ARM] Allow Versatile to be built for AB and PB [ARM] 3726/1: update {ep93xx,ixp2000,ixp23xx,lpd270,onearm} defconfigs to 2.6.18-rc1 [ARM] 3721/1: Small cleanup for locomo.c
Diffstat (limited to 'arch/arm/kernel/irq.c')
-rw-r--r--arch/arm/kernel/irq.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c
index c3d4e94ef5bf..626feeec0ade 100644
--- a/arch/arm/kernel/irq.c
+++ b/arch/arm/kernel/irq.c
@@ -167,6 +167,16 @@ void __init init_IRQ(void)
167} 167}
168 168
169#ifdef CONFIG_HOTPLUG_CPU 169#ifdef CONFIG_HOTPLUG_CPU
170
171static void route_irq(struct irqdesc *desc, unsigned int irq, unsigned int cpu)
172{
173 pr_debug("IRQ%u: moving from cpu%u to cpu%u\n", irq, desc->cpu, cpu);
174
175 spin_lock_irq(&desc->lock);
176 desc->chip->set_affinity(irq, cpumask_of_cpu(cpu));
177 spin_unlock_irq(&desc->lock);
178}
179
170/* 180/*
171 * The CPU has been marked offline. Migrate IRQs off this CPU. If 181 * The CPU has been marked offline. Migrate IRQs off this CPU. If
172 * the affinity settings do not allow other CPUs, force them onto any 182 * the affinity settings do not allow other CPUs, force them onto any