Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2015 17:59:33 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r277493 - stable/10/sys/x86/x86
Message-ID:  <201501211759.t0LHxXLB037499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Jan 21 17:59:32 2015
New Revision: 277493
URL: https://svnweb.freebsd.org/changeset/base/277493

Log:
  MFC 272666: Fix build for i386 kernels with out 'I686_CPU'.
  
  Reported by:	Mike Tancsa <mike@sentex.net>

Modified:
  stable/10/sys/x86/x86/local_apic.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/x86/x86/local_apic.c
==============================================================================
--- stable/10/sys/x86/x86/local_apic.c	Wed Jan 21 17:03:11 2015	(r277492)
+++ stable/10/sys/x86/x86/local_apic.c	Wed Jan 21 17:59:32 2015	(r277493)
@@ -1298,7 +1298,7 @@ apic_init(void *dummy __unused)
 		printf("APIC: Using the %s enumerator.\n",
 		    best_enum->apic_name);
 
-#ifndef __amd64__
+#ifdef I686_CPU
 	/*
 	 * To work around an errata, we disable the local APIC on some
 	 * CPUs during early startup.  We need to turn the local APIC back



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501211759.t0LHxXLB037499>