]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm26/hardirq.h
Merge branch 'upstream'
[linux-2.6-omap-h63xx.git] / include / asm-arm26 / hardirq.h
index 791ee1da9bfa0f81a0e320c872a1fbebe520a81d..87c19d2bb6a8035df4c4f747f8214a76ad47f9b8 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/config.h>
 #include <linux/cache.h>
 #include <linux/threads.h>
+#include <asm/irq.h>
 
 typedef struct {
        unsigned int __softirq_pending;
@@ -22,19 +23,10 @@ typedef struct {
 # error HARDIRQ_BITS is too low!
 #endif
 
-#define irq_enter()            (preempt_count() += HARDIRQ_OFFSET)
-
 #ifndef CONFIG_SMP
 
 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