[2.6 patch] include/asm-arm26/hardirq.h: remove #define irq_enter()

From: Adrian Bunk
Date: Sun Jul 31 2005 - 13:33:49 EST


This patch removes a #define for irq_enter that is superfluous due to a
similar one in include/linux/hardirq.h .

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 21 Jul 2005

Note: The compilation of this patch was not tested.

--- linux-2.6.13-rc3-mm1-full/include/asm-arm26/hardirq.h.old 2005-07-21 16:27:36.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/include/asm-arm26/hardirq.h 2005-07-21 16:29:32.000000000 +0200
@@ -22,8 +22,6 @@
# error HARDIRQ_BITS is too low!
#endif

-#define irq_enter() (preempt_count() += HARDIRQ_OFFSET)
-
#ifndef CONFIG_SMP

extern asmlinkage void __do_softirq(void);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/