aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2012-10-09 12:22:43 +0000
committerAttilio Rao <attilio@FreeBSD.org>2012-10-09 12:22:43 +0000
commitaf2bdacafb03e3a7baaed14b18338498ab8a2c02 (patch)
treec05b3d1bedc331d22044ddd50f075c6b6a619735 /sys/x86
parenta10cee30c94cf5944826d2a495e9cdf339dfbcc8 (diff)
downloadsrc-af2bdacafb03e3a7baaed14b18338498ab8a2c02.tar.gz
src-af2bdacafb03e3a7baaed14b18338498ab8a2c02.zip
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
Notes
Notes: svn path=/head/; revision=241371
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 71e9006f8fd8..31cc80b5bd64 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