Author: marius
Date: Tue Apr 10 16:08:46 2012
New Revision: 234105
URL: http://svn.freebsd.org/changeset/base/234105
Log:
Fix !SMP build after r234074.
Reviewed by: attilio, jhb
Modified:
head/sys/amd64/amd64/machdep.c
head/sys/i386/i386/machdep.c
Modified: head/sys/amd64/amd64/machdep.c
==============================================================================
--- head/sys/amd64/amd64/machdep.c Tue Apr 10 16:05:52 2012
(r234104)
+++ head/sys/amd64/amd64/machdep.c Tue Apr 10 16:08:46 2012
(r234105)
@@ -296,10 +296,12 @@ cpu_startup(dummy)
cpu_setregs();
+#ifdef SMP
/*
* Add BSP as an interrupt target.
*/
intr_add_cpu(0);
+#endif
}
/*
Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c Tue Apr 10 16:05:52 2012
(r234104)
+++ head/sys/i386/i386/machdep.c Tue Apr 10 16:08:46 2012
(r234105)
@@ -337,10 +337,12 @@ cpu_startup(dummy)
cpu_setregs();
#endif
+#ifdef SMP
/*
* Add BSP as an interrupt target.
*/
intr_add_cpu(0);
+#endif
}
/*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"