Commit ee368c5c authored by Ali Saidi's avatar Ali Saidi Committed by Linus Torvalds

[PATCH] alpha: cpu mask fix-ups broke SMP DP264 machines in 2.6.8

The cpu mask fix-ups in 2.6.8 broke SMP kernels booting on a DP264.
Instead of not setting the DIM for cpus that did not exit, the patch
inadvertently doesn't set the DIM for CPUs that do exist.  Thus no device
interrupts get to the cpu.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ca6ba0b9
......@@ -71,10 +71,10 @@ tsunami_update_irq_hw(unsigned long mask)
dim1 = &cchip->dim1.csr;
dim2 = &cchip->dim2.csr;
dim3 = &cchip->dim3.csr;
if (cpu_possible(0)) dim0 = &dummy;
if (cpu_possible(1)) dim1 = &dummy;
if (cpu_possible(2)) dim2 = &dummy;
if (cpu_possible(3)) dim3 = &dummy;
if (!cpu_possible(0)) dim0 = &dummy;
if (!cpu_possible(1)) dim1 = &dummy;
if (!cpu_possible(2)) dim2 = &dummy;
if (!cpu_possible(3)) dim3 = &dummy;
*dim0 = mask0;
*dim1 = mask1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment