aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/softirq.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-19 16:48:34 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-19 16:48:34 +0000
commit77dcac7bd01a41a49abd7d774d2f407a3f06c9c1 (patch)
tree2a06434ed7ecde244970f8e88ccff7fdc25662ab /xen/common/softirq.c
parent60b6be9ccdd46b8cbddf1d96a89b4e6239248ee9 (diff)
downloadxen-77dcac7bd01a41a49abd7d774d2f407a3f06c9c1.tar.gz
xen-77dcac7bd01a41a49abd7d774d2f407a3f06c9c1.tar.bz2
xen-77dcac7bd01a41a49abd7d774d2f407a3f06c9c1.zip
bitkeeper revision 1.983 (40d46e62pNngJp16CZ2sqZwmplr_Kw)
More cleanups.
Diffstat (limited to 'xen/common/softirq.c')
-rw-r--r--xen/common/softirq.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/xen/common/softirq.c b/xen/common/softirq.c
index 63d2c8d859..3e1472e94a 100644
--- a/xen/common/softirq.c
+++ b/xen/common/softirq.c
@@ -10,10 +10,10 @@
*/
#include <xen/config.h>
+#include <xen/init.h>
#include <xen/mm.h>
#include <xen/sched.h>
-#include <xen/interrupt.h>
-#include <xen/init.h>
+#include <xen/softirq.h>
irq_cpustat_t irq_stat[NR_CPUS];
@@ -37,20 +37,6 @@ asmlinkage void do_softirq()
}
}
-inline void cpu_raise_softirq(unsigned int cpu, unsigned int nr)
-{
- __cpu_raise_softirq(cpu, nr);
-#ifdef CONFIG_SMP
- if ( cpu != smp_processor_id() )
- smp_send_event_check_cpu(cpu);
-#endif
-}
-
-void raise_softirq(unsigned int nr)
-{
- __cpu_raise_softirq(smp_processor_id(), nr);
-}
-
void open_softirq(int nr, softirq_handler handler)
{
softirq_handlers[nr] = handler;