x86: SGI UV: Fix IPI macros
authorJack Steiner <[email protected]>
Wed, 9 Sep 2009 15:41:05 +0000 (10:41 -0500)
committerIngo Molnar <[email protected]>
Fri, 18 Sep 2009 12:04:25 +0000 (14:04 +0200)
The UV BIOS has changed the way interrupt remapping is being done.
This affects the id used for sending IPIs. The upper id bits no
longer need to be masked off.

Signed-off-by: Jack Steiner <[email protected]>
Cc: <[email protected]>
LKML-Reference: <20090909154104[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/uv/uv_hub.h

index 77a68505419a5e3a8c7a0c2a7ae6f43b34f32541..03a0cbdb3050f137984c9ea2d1a76f464ac108f0 100644 (file)
@@ -422,7 +422,7 @@ static inline void uv_hub_send_ipi(int pnode, int apicid, int vector)
        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);
 }