summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-01-06 21:08:06 +0000
committerjhb <jhb@FreeBSD.org>2011-01-06 21:08:06 +0000
commitae4deb7aadbe0e6c12eb264f6a7c19fd3fd582fc (patch)
tree3b0c63d523bfa220e197106927726c6b8ca7ce59 /sys/i386
parentfe1ba87ad17386619bc6fb121fc6e73278f36247 (diff)
downloadFreeBSD-src-ae4deb7aadbe0e6c12eb264f6a7c19fd3fd582fc.zip
FreeBSD-src-ae4deb7aadbe0e6c12eb264f6a7c19fd3fd582fc.tar.gz
Remove bogus usage of INTR_FAST. "Fast" interrupts are now indicated by
registering a filter handler rather than a threaded handler. Also remove a bogus use of INTR_MPSAFE for a filter.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/xen/clock.c4
-rw-r--r--sys/i386/xen/mp_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c
index 03f2517..091c8c7 100644
--- a/sys/i386/xen/clock.c
+++ b/sys/i386/xen/clock.c
@@ -777,7 +777,7 @@ cpu_initclocks(void)
error = bind_virq_to_irqhandler(VIRQ_TIMER, 0, "clk",
clkintr, NULL, NULL,
- INTR_TYPE_CLK | INTR_FAST, &time_irq);
+ INTR_TYPE_CLK, &time_irq);
if (error)
panic("failed to register clock interrupt\n");
/* should fast clock be enabled ? */
@@ -796,7 +796,7 @@ ap_cpu_initclocks(int cpu)
&xen_set_periodic_tick);
error = bind_virq_to_irqhandler(VIRQ_TIMER, 0, "clk",
clkintr, NULL, NULL,
- INTR_TYPE_CLK | INTR_FAST, &time_irq);
+ INTR_TYPE_CLK, &time_irq);
if (error)
panic("failed to register clock interrupt\n");
diff --git a/sys/i386/xen/mp_machdep.c b/sys/i386/xen/mp_machdep.c
index 8edbb7f..6e0fa23 100644
--- a/sys/i386/xen/mp_machdep.c
+++ b/sys/i386/xen/mp_machdep.c
@@ -470,7 +470,7 @@ xen_smp_intr_init(unsigned int cpu)
cpu,
resched_name[cpu],
smp_reschedule_interrupt,
- INTR_FAST|INTR_TYPE_TTY|INTR_MPSAFE, &irq);
+ INTR_TYPE_TTY, &irq);
printf("[XEN] IPI cpu=%d irq=%d vector=RESCHEDULE_VECTOR (%d)\n",
cpu, irq, RESCHEDULE_VECTOR);
@@ -482,7 +482,7 @@ xen_smp_intr_init(unsigned int cpu)
cpu,
callfunc_name[cpu],
smp_call_function_interrupt,
- INTR_FAST|INTR_TYPE_TTY|INTR_MPSAFE, &irq);
+ INTR_TYPE_TTY, &irq);
if (rc < 0)
goto fail;
per_cpu(callfunc_irq, cpu) = irq;
OpenPOWER on IntegriCloud