Module: xenomai-2.5
Branch: master
Commit: 072ad7a5c761a37db505a66983dfcd2322c06092
URL:    
http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=072ad7a5c761a37db505a66983dfcd2322c06092

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Jan 10 21:01:51 2010 +0100

x86: use generic rthal_irq_descp()

---

 include/asm-x86/wrappers_32.h |    1 -
 include/asm-x86/wrappers_64.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/asm-x86/wrappers_32.h b/include/asm-x86/wrappers_32.h
index 90ccdc1..f738dc4 100644
--- a/include/asm-x86/wrappers_32.h
+++ b/include/asm-x86/wrappers_32.h
@@ -152,7 +152,6 @@ static inline void wrap_switch_iobitmap(struct task_struct 
*p, int cpu)
 
 #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) */
 
-#define rthal_irq_descp(irq)           (irq_desc + irq)
 #define rthal_irq_desc_status(irq)     (rthal_irq_descp(irq)->status)
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
diff --git a/include/asm-x86/wrappers_64.h b/include/asm-x86/wrappers_64.h
index 21332c9..346cf71 100644
--- a/include/asm-x86/wrappers_64.h
+++ b/include/asm-x86/wrappers_64.h
@@ -32,7 +32,6 @@
 
 #define wrap_phys_mem_prot(filp,pfn,size,prot)  (prot)
 
-#define rthal_irq_descp(irq)           (irq_desc + irq)
 #define rthal_irq_desc_status(irq)     (rthal_irq_descp(irq)->status)
 
 #define rthal_irq_chip_enable(irq)   ({ 
rthal_irq_descp(irq)->chip->unmask(irq); 0; })


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to