diff options
author | attilio <attilio@FreeBSD.org> | 2012-04-26 20:24:25 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-04-26 20:24:25 +0000 |
commit | 0b98e6d835caa6e794deb417e434762d6a00031b (patch) | |
tree | ee191eec81bcd147f9a5eb58b8dbd0b99c89a4f8 /sys/amd64/include | |
parent | 6eb12b42ba18698f1441188207485bf0d2414382 (diff) | |
download | FreeBSD-src-0b98e6d835caa6e794deb417e434762d6a00031b.zip FreeBSD-src-0b98e6d835caa6e794deb417e434762d6a00031b.tar.gz |
Clean up the intr* MD KPI from the SMP dependency, removing a cause of
discrepancy between modules and kernel, but deal with SMP differences
within the functions themselves.
As an added bonus this also helps in terms of code readability.
Requested by: gibbs
Reviewed by: jhb, marius
MFC after: 1 week
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/intr_machdep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/include/intr_machdep.h b/sys/amd64/include/intr_machdep.h index 700e35f..3dd572d 100644 --- a/sys/amd64/include/intr_machdep.h +++ b/sys/amd64/include/intr_machdep.h @@ -140,15 +140,11 @@ 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); -#ifdef SMP int intr_bind(u_int vector, u_char cpu); -#endif int intr_config_intr(int vector, enum intr_trigger trig, enum intr_polarity pol); int intr_describe(u_int vector, void *ih, const char *descr); |