Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] alpha smp fix (part #2)

This fixes the bug that caused BUG_ON(!irqs_disabled()) to trigger in
run_posix_cpu_timers() on alpha/smp. We didn't disable interrupts
properly before calling smp_percpu_timer_interrupt().

We *do* disable interrupts everywhere except this unfortunate
smp_percpu_timer_interrupt(). Fixed thus.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Ivan Kokshaysky and committed by
Linus Torvalds
4a89a04f ef6689ef

+2
+2
arch/alpha/kernel/irq_alpha.c
··· 55 55 #ifdef CONFIG_SMP 56 56 { 57 57 long cpu; 58 + 59 + local_irq_disable(); 58 60 smp_percpu_timer_interrupt(regs); 59 61 cpu = smp_processor_id(); 60 62 if (cpu != boot_cpuid) {