diff options
author | attilio <attilio@FreeBSD.org> | 2012-10-09 12:22:43 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-10-09 12:22:43 +0000 |
commit | 3212891c92af5f2d7d3d162066a3fc5b39195996 (patch) | |
tree | c05b3d1bedc331d22044ddd50f075c6b6a619735 /sys/amd64/include | |
parent | 8747a46991f804159ec832961138fbafc8489e41 (diff) | |
download | FreeBSD-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/amd64/include')
-rw-r--r-- | sys/amd64/include/intr_machdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/intr_machdep.h b/sys/amd64/include/intr_machdep.h index 9d066b1..700e35f 100644 --- a/sys/amd64/include/intr_machdep.h +++ b/sys/amd64/include/intr_machdep.h @@ -140,7 +140,9 @@ int elcr_probe(void); enum intr_trigger elcr_read_trigger(u_int irq); void elcr_resume(void); void elcr_write_trigger(u_int irq, enum intr_trigger trigger); +#ifdef SMP void intr_add_cpu(u_int cpu); +#endif int intr_add_handler(const char *name, int vector, driver_filter_t filter, driver_intr_t handler, void *arg, enum intr_type flags, void **cookiep); |