diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2012-10-09 12:22:43 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2012-10-09 12:22:43 +0000 |
commit | af2bdacafb03e3a7baaed14b18338498ab8a2c02 (patch) | |
tree | c05b3d1bedc331d22044ddd50f075c6b6a619735 /sys/x86 | |
parent | a10cee30c94cf5944826d2a495e9cdf339dfbcc8 (diff) | |
download | src-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.c | 9 |
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 |