mneumann's projects
/
dragonfly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
i386 - Get completely rid of APIC_IO
[dragonfly.git]
/
sys
/
platform
/
pc32
/
apic
/
mpapic.h
diff --git
a/sys/platform/pc32/apic/mpapic.h
b/sys/platform/pc32/apic/mpapic.h
index
b6c1f0e
..
d31eeb0
100644
(file)
--- a/
sys/platform/pc32/apic/mpapic.h
+++ b/
sys/platform/pc32/apic/mpapic.h
@@
-58,7
+58,7
@@
enum busTypes {
*/
#define CPU_TO_ID(CPU) (cpu_num_to_apic_id[CPU])
#define ID_TO_CPU(ID) (apic_id_to_logical[ID])
-#ifdef APIC_IO
+#ifdef SMP /* APIC-IO */
#define IO_TO_ID(IO) (io_num_to_apic_id[IO])
#define ID_TO_IO(ID) (apic_id_to_logical[ID])
#endif