ia64/xen-unstable

view xen/arch/ia64/patch/linux-2.6.11/hardirq.h @ 4704:4db173f346dd

bitkeeper revision 1.1327.1.12 (4271657dvd6v7i5Y8X39HQ9Fu_LjoQ)

Fix more cleanup oops
author djm@kirby.fc.hp.com
date Thu Apr 28 22:36:45 2005 +0000 (2005-04-28)
parents
children ba75d06d25c5
line source
1 --- ../../linux-2.6.11/include/linux/hardirq.h 2005-03-02 00:38:00.000000000 -0700
2 +++ include/asm-ia64/linux/hardirq.h 2005-04-28 16:34:39.000000000 -0600
3 @@ -60,7 +60,11 @@
4 */
5 #define in_irq() (hardirq_count())
6 #define in_softirq() (softirq_count())
7 +#ifndef XEN
8 #define in_interrupt() (irq_count())
9 +#else
10 +#define in_interrupt() 0 // FIXME LATER
11 +#endif
13 #if defined(CONFIG_PREEMPT) && !defined(CONFIG_PREEMPT_BKL)
14 # define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != kernel_locked())