[RFC][patch 6/10] Multiple vector domain support - change irq_to_vector

From: Kenji Kaneshige <kaneshige.kenji_at_jp.fujitsu.com>
Date: 2005-07-14 19:31:05
This patch changes irq_to_vector() to abolish the identity mapping
between IA-64 vector and Linux IRQ.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

---

 linux-2.6.13-rc1-kanesige/include/asm-ia64/hw_irq.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/asm-ia64/hw_irq.h~vector-domain-ia64-change-irq_to_vector include/asm-ia64/hw_irq.h
--- linux-2.6.13-rc1/include/asm-ia64/hw_irq.h~vector-domain-ia64-change-irq_to_vector	2005-07-13 16:12:49.000000000 +0900
+++ linux-2.6.13-rc1-kanesige/include/asm-ia64/hw_irq.h	2005-07-13 16:12:49.000000000 +0900
@@ -207,7 +207,7 @@ irq_descp (int irq)
 static inline ia64_vector
 irq_to_vector (int irq)
 {
-	return (ia64_vector) irq;
+	return (ia64_vector) gsv_to_vector(irq_to_gsv(irq));
 }
 
 /*

_


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jul 14 05:33:44 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST