summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-10-09 12:22:43 +0000
committerattilio <attilio@FreeBSD.org>2012-10-09 12:22:43 +0000
commit3212891c92af5f2d7d3d162066a3fc5b39195996 (patch)
treec05b3d1bedc331d22044ddd50f075c6b6a619735 /sys/x86
parent8747a46991f804159ec832961138fbafc8489e41 (diff)
downloadFreeBSD-src-3212891c92af5f2d7d3d162066a3fc5b39195996.zip
FreeBSD-src-3212891c92af5f2d7d3d162066a3fc5b39195996.tar.gz
Reverts r234074,234105,234564,234723,234989,235231-235232 and part of
r234247. Use, instead, the static intializer introduced in r239923 for x86 and sparc64 intr_cpus, unwinding the code to the initial version. Reviewed by: marius
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/x86/intr_machdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/x86/x86/intr_machdep.c b/sys/x86/x86/intr_machdep.c
index 71e9006..31cc80b 100644
--- a/sys/x86/x86/intr_machdep.c
+++ b/sys/x86/x86/intr_machdep.c
@@ -452,7 +452,7 @@ DB_SHOW_COMMAND(irqs, db_show_irqs)
* allocate CPUs round-robin.
*/
-static cpuset_t intr_cpus;
+static cpuset_t intr_cpus = CPUSET_T_INITIALIZER(0x1);
static int current_cpu;
/*
@@ -565,11 +565,4 @@ intr_next_cpu(void)
return (PCPU_GET(apic_id));
}
-
-/* Use an empty stub for compatibility. */
-void
-intr_add_cpu(u_int cpu __unused)
-{
-
-}
#endif
OpenPOWER on IntegriCloud