[PATCH] UV: set full apicid in uv_hub_send_ipi

From: Dimitri Sivanich
Date: Thu Feb 12 2009 - 16:52:46 EST


The uv_hub_send_ipi() function needs to set the full apicid in the
UVH_IPI_INT mmr.

Signed-off-by: Dimitri Sivanich <sivanich@xxxxxxx>
Acked-by: Jack Steiner <steiner@xxxxxxx>

---

arch/x86/include/asm/uv/uv_hub.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/arch/x86/include/asm/uv/uv_hub.h
===================================================================
--- linux.orig/arch/x86/include/asm/uv/uv_hub.h 2009-02-11 09:26:35.000000000 -0600
+++ linux/arch/x86/include/asm/uv/uv_hub.h 2009-02-12 15:06:04.000000000 -0600
@@ -411,7 +411,7 @@ static inline void uv_hub_send_ipi(int p
unsigned long val;

val = (1UL << UVH_IPI_INT_SEND_SHFT) |
- ((apicid & 0x3f) << UVH_IPI_INT_APIC_ID_SHFT) |
+ (apicid << UVH_IPI_INT_APIC_ID_SHFT) |
(vector << UVH_IPI_INT_VECTOR_SHFT);
uv_write_global_mmr64(pnode, UVH_IPI_INT, val);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/