summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-07-20 19:41:38 +0000
committerfsmp <fsmp@FreeBSD.org>1997-07-20 19:41:38 +0000
commit2ac3ad1fd352da4f31ea42c709a816ad519b924f (patch)
treeb9c05e48dac8812f1b7f1eed0da8c9f5fafd9d53 /sys/kern
parent96b8d788122aa88b00cf3fc289aaa70ac4869a5e (diff)
downloadFreeBSD-src-2ac3ad1fd352da4f31ea42c709a816ad519b924f.zip
FreeBSD-src-2ac3ad1fd352da4f31ea42c709a816ad519b924f.tar.gz
Developed a new strategy for handling the 8254/8259/APIC issue.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_smp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 343ea7d..c9724a1 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.17 1997/07/20 17:43:20 smp Exp smp $
+ * $Id: mp_machdep.c,v 1.18 1997/07/20 18:13:01 smp Exp smp $
*/
#include "opt_smp.h"
@@ -1065,12 +1065,14 @@ isa_apic_pin(int isa_irq)
int intr;
#if defined(SMP_TIMER_NC)
-#if defined(APIC_PIN0_TIMER)
+#if defined(NEW_STRATEGY) || defined(APIC_PIN0_TIMER)
+#error
#error 'options SMP_TIMER_NC' no longer used, remove & reconfig.
+#error
#else
if (isa_irq == 0)
return -1;
-#endif /* APIC_PIN0_TIMER */
+#endif /* NEW_STRATEGY || APIC_PIN0_TIMER */
#endif /* SMP_TIMER_NC */
for (intr = 0; intr < nintrs; ++intr) { /* check each record */
OpenPOWER on IntegriCloud