]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm26/hardirq.h
[ARM] Improve csum_fold, cleanup csum_tcpudp_magic()
[linux-2.6-omap-h63xx.git] / include / asm-arm26 / hardirq.h
index dc28daab8aa8d7786fa619facc0116480c33858e..e717742ffce06905a0231f4e62e78b7d3568f054 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef __ASM_HARDIRQ_H
 #define __ASM_HARDIRQ_H
 
-#include <linux/config.h>
 #include <linux/cache.h>
 #include <linux/threads.h>
+#include <asm/irq.h>
 
 typedef struct {
        unsigned int __softirq_pending;
@@ -26,13 +26,6 @@ typedef struct {
 
 extern asmlinkage void __do_softirq(void);
 
-#define irq_exit()                                                      \
-        do {                                                            \
-                preempt_count() -= IRQ_EXIT_OFFSET;                     \
-                if (!in_interrupt() && local_softirq_pending())         \
-                        __do_softirq();                                 \
-                preempt_enable_no_resched();                            \
-        } while (0)
 #endif