aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hardirq.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-18 14:46:29 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-18 14:46:29 +0000
commit60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9 (patch)
treeb477b901498e1f22504ea55339680079600767d6 /xen/include/asm-x86/hardirq.h
parent82eefd80489f629cde550047982bece346aca22e (diff)
downloadxen-60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9.tar.gz
xen-60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9.tar.bz2
xen-60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9.zip
bitkeeper revision 1.982 (40d300456_XUbFFOMxRh4MjyB7AfJA)
Hacked the scheduler interfaces in Xen. We now have synchronous pause. Suspend/death VIRQs have gone away; replace by dom-controller msgs. Xen no longer knows about PS/2 keyboard/mouse; DOM0 can go straight at them.
Diffstat (limited to 'xen/include/asm-x86/hardirq.h')
-rw-r--r--xen/include/asm-x86/hardirq.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/xen/include/asm-x86/hardirq.h b/xen/include/asm-x86/hardirq.h
index 43a73f73c2..f45c3ac654 100644
--- a/xen/include/asm-x86/hardirq.h
+++ b/xen/include/asm-x86/hardirq.h
@@ -8,20 +8,12 @@
typedef struct {
unsigned int __softirq_pending;
unsigned int __local_irq_count;
- unsigned int __local_bh_count;
unsigned int __nmi_count;
unsigned long idle_timestamp;
} ____cacheline_aligned irq_cpustat_t;
#include <xen/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
-/*
- * Are we in an interrupt context? Either doing bottom half
- * or hardware interrupt processing?
- */
-#define in_interrupt() ({ int __cpu = smp_processor_id(); \
- (local_irq_count(__cpu) + local_bh_count(__cpu) != 0); })
-
#define in_irq() (local_irq_count(smp_processor_id()) != 0)
#define irq_enter(cpu, irq) (local_irq_count(cpu)++)