aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h
diff options
context:
space:
mode:
authoriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>2004-08-22 21:54:01 +0000
committeriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>2004-08-22 21:54:01 +0000
commit951a143632c865df03631eb18281965806d42d48 (patch)
treee8b4544be2a4b0ab83f8088637662217eb18b13c /linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h
parent794fd1725db587ec470197f945d3e951fc2beb30 (diff)
downloadxen-951a143632c865df03631eb18281965806d42d48.tar.gz
xen-951a143632c865df03631eb18281965806d42d48.tar.bz2
xen-951a143632c865df03631eb18281965806d42d48.zip
bitkeeper revision 1.1159.49.1 (412915f94Ju9wyp48cLKhK-yYaCqgA)
Upgrade to linux 2.4.27
Diffstat (limited to 'linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h')
-rw-r--r--linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h b/linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h
deleted file mode 100644
index d99d15bd24..0000000000
--- a/linux-2.4.26-xen-sparse/include/asm-xen/hw_irq.h
+++ /dev/null
@@ -1,61 +0,0 @@
-#ifndef _ASM_HW_IRQ_H
-#define _ASM_HW_IRQ_H
-
-/*
- * linux/include/asm/hw_irq.h
- *
- * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar
- */
-
-#include <linux/config.h>
-#include <linux/smp.h>
-#include <asm/atomic.h>
-#include <asm/irq.h>
-
-#define SYSCALL_VECTOR 0x80
-
-extern int irq_vector[NR_IRQS];
-
-extern atomic_t irq_err_count;
-extern atomic_t irq_mis_count;
-
-extern char _stext, _etext;
-
-extern unsigned long prof_cpu_mask;
-extern unsigned int * prof_buffer;
-extern unsigned long prof_len;
-extern unsigned long prof_shift;
-
-/*
- * x86 profiling function, SMP safe. We might want to do this in
- * assembly totally?
- */
-static inline void x86_do_profile (unsigned long eip)
-{
- if (!prof_buffer)
- return;
-
- /*
- * Only measure the CPUs specified by /proc/irq/prof_cpu_mask.
- * (default is all CPUs.)
- */
- if (!((1<<smp_processor_id()) & prof_cpu_mask))
- return;
-
- eip -= (unsigned long) &_stext;
- eip >>= prof_shift;
- /*
- * Don't ignore out-of-bounds EIP values silently,
- * put them into the last histogram slot, so if
- * present, they will show up as a sharp peak.
- */
- if (eip > prof_len-1)
- eip = prof_len-1;
- atomic_inc((atomic_t *)&prof_buffer[eip]);
-}
-
-static inline void hw_resend_irq(struct hw_interrupt_type *h,
- unsigned int i)
-{}
-
-#endif /* _ASM_HW_IRQ_H */