2009-12-11 17:35:06

by Cliff Wickman

[permalink] [raw]
Subject: [PATCH] x86: UV BAU interrupt vector duplicated

From: Cliff Wickman <[email protected]>

Diffed against 2.6.32

Interrupt vector 0xec has been doubly defined in irq_vectors.h

It seems arbitrary whether LOCAL_PENDING_VECTOR or UV_BAU_MESSAGE is
the higher number. As long as they are unique.
If they are not unique we'll hit a BUG in alloc_system_vector().

Signed-off-by: Cliff Wickman <[email protected]>

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

Index: linux/arch/x86/include/asm/irq_vectors.h
===================================================================
--- linux.orig/arch/x86/include/asm/irq_vectors.h 2009-11-13 18:37:52.000000000 -0600
+++ linux/arch/x86/include/asm/irq_vectors.h 2009-11-13 18:38:43.000000000 -0600
@@ -120,7 +120,7 @@
*/
#define LOCAL_PENDING_VECTOR 0xec

-#define UV_BAU_MESSAGE 0xec
+#define UV_BAU_MESSAGE 0xea

/*
* Self IPI vector for machine checks


2009-12-13 07:38:24

by Cliff Wickman

[permalink] [raw]
Subject: [tip:x86/urgent] x86: Fix duplicated UV BAU interrupt vector

Commit-ID: 1d865fb728bd6bbcdfbd6ec1e2b8ade3b4805641
Gitweb: http://git.kernel.org/tip/1d865fb728bd6bbcdfbd6ec1e2b8ade3b4805641
Author: Cliff Wickman <[email protected]>
AuthorDate: Fri, 11 Dec 2009 11:36:18 -0600
Committer: Ingo Molnar <[email protected]>
CommitDate: Sun, 13 Dec 2009 08:17:40 +0100

x86: Fix duplicated UV BAU interrupt vector

Interrupt vector 0xec has been doubly defined in irq_vectors.h

It seems arbitrary whether LOCAL_PENDING_VECTOR or
UV_BAU_MESSAGE is the higher number. As long as they are
unique. If they are not unique we'll hit a BUG in
alloc_system_vector().

Signed-off-by: Cliff Wickman <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/x86/include/asm/irq_vectors.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 6a635bd..4611f08 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -113,7 +113,7 @@
*/
#define LOCAL_PENDING_VECTOR 0xec

-#define UV_BAU_MESSAGE 0xec
+#define UV_BAU_MESSAGE 0xea

/*
* Self IPI vector for machine checks