From: Jack Steiner GRU interrupts for the kernel context are targeted to core 0 of the lowest socket on the blade. Fix an endcase for 6-socket processors that do not have a APICID for core 0. (There are potentially 8 cores in the socket. A 6 core socket has 2 cores disabled. If core 0 was disabled, the old code did not work). Signed-off-by: Jack Steiner --- drivers/misc/sgi-gru/grumain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/misc/sgi-gru/grumain.c =================================================================== --- linux.orig/drivers/misc/sgi-gru/grumain.c 2010-06-09 08:11:43.740083860 -0500 +++ linux/drivers/misc/sgi-gru/grumain.c 2010-06-09 08:11:44.128107324 -0500 @@ -618,7 +618,7 @@ void gru_load_context(struct gru_thread_ cch->unmap_enable = 1; cch->tfm_done_bit_enable = 1; cch->cb_int_enable = 1; - cch->tlb_int_select = 0; /* For now, ints go to cpu 0 */ + cch->tlb_int_select = uv_cpu_core_number(0); /* For now, ints go to cpu 0 */ } else { cch->unmap_enable = 0; cch->tfm_done_bit_enable = 0; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/