diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-13 19:37:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-13 19:37:29 -0400 |
commit | a23f4636c9ae7f1f15c448080f1552864b404136 (patch) | |
tree | 775049f3486be9eed2261515c55abb14bdbc4d73 /arch/arm/kernel | |
parent | fc818301a8a39fedd7f0a71f878f29130c72193d (diff) | |
parent | 5cbc1b6f66313111f64e779bf1df3799bf5c2df8 (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')
-rw-r--r-- | arch/arm/kernel/bios32.c | 11 | ||||
-rw-r--r-- | arch/arm/kernel/irq.c | 10 |
2 files changed, 10 insertions, 11 deletions
diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index 964faac104fb..240c448ec31c 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c | |||
@@ -370,17 +370,6 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) | |||
370 | features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY); | 370 | features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY); |
371 | 371 | ||
372 | switch (dev->class >> 8) { | 372 | switch (dev->class >> 8) { |
373 | #if defined(CONFIG_ISA) || defined(CONFIG_EISA) | ||
374 | case PCI_CLASS_BRIDGE_ISA: | ||
375 | case PCI_CLASS_BRIDGE_EISA: | ||
376 | /* | ||
377 | * If this device is an ISA bridge, set isa_bridge | ||
378 | * to point at this device. We will then go looking | ||
379 | * for things like keyboard, etc. | ||
380 | */ | ||
381 | isa_bridge = dev; | ||
382 | break; | ||
383 | #endif | ||
384 | case PCI_CLASS_BRIDGE_PCI: | 373 | case PCI_CLASS_BRIDGE_PCI: |
385 | pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &status); | 374 | pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &status); |
386 | status |= PCI_BRIDGE_CTL_PARITY|PCI_BRIDGE_CTL_MASTER_ABORT; | 375 | status |= PCI_BRIDGE_CTL_PARITY|PCI_BRIDGE_CTL_MASTER_ABORT; |
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 | |||
171 | static 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 |