git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-x86_64
/
mach-xen
/
asm
/
hw_irq.h
diff --git
a/include/asm-x86_64/mach-xen/asm/hw_irq.h
b/include/asm-x86_64/mach-xen/asm/hw_irq.h
index
f331082
..
4d97179
100644
(file)
--- a/
include/asm-x86_64/mach-xen/asm/hw_irq.h
+++ b/
include/asm-x86_64/mach-xen/asm/hw_irq.h
@@
-12,18
+12,14
@@
* <tomsoft@informatik.tu-chemnitz.de>
*
* hacked by Andi Kleen for x86-64.
* <tomsoft@informatik.tu-chemnitz.de>
*
* hacked by Andi Kleen for x86-64.
- *
- * $Id: hw_irq.h,v 1.24 2001/09/14 20:55:03 vojtech Exp $
*/
#ifndef __ASSEMBLY__
*/
#ifndef __ASSEMBLY__
-#include <linux/config.h>
#include <asm/atomic.h>
#include <asm/irq.h>
#include <linux/profile.h>
#include <linux/smp.h>
#include <asm/atomic.h>
#include <asm/irq.h>
#include <linux/profile.h>
#include <linux/smp.h>
-
-struct hw_interrupt_type;
+#include <linux/percpu.h>
#endif
#define NMI_VECTOR 0x02
#endif
#define NMI_VECTOR 0x02
@@
-80,9
+76,10
@@
struct hw_interrupt_type;
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
-extern u8 irq_vector[NR_IRQ_VECTORS];
-#define IO_APIC_VECTOR(irq) (irq_vector[irq])
-#define AUTO_ASSIGN -1
+typedef int vector_irq_t[NR_VECTORS];
+DECLARE_PER_CPU(vector_irq_t, vector_irq);
+extern void __setup_vector_irq(int cpu);
+extern spinlock_t vector_lock;
/*
* Various low-level irq details needed by irq.c, process.c,
/*
* Various low-level irq details needed by irq.c, process.c,
@@
-132,12
+129,6
@@
__asm__( \
"push $" #nr "-256 ; " \
"jmp common_interrupt");
"push $" #nr "-256 ; " \
"jmp common_interrupt");
-extern void resend_irq_on_evtchn(struct hw_interrupt_type *h, unsigned int i);
-static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i)
-{
- resend_irq_on_evtchn(h, i);
-}
-
#define platform_legacy_irq(irq) ((irq) < 16)
#endif
#define platform_legacy_irq(irq) ((irq) < 16)
#endif