Bug 193660 - [PATCH] Fix build of IA-32 but not i686 systems (e.g. alix)
Summary: [PATCH] Fix build of IA-32 but not i686 systems (e.g. alix)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 16:43 UTC by holger
Modified: 2014-10-06 18:11 UTC (History)
1 user (show)

See Also:


Attachments
Guard the section (1.03 KB, patch)
2014-09-15 16:43 UTC, holger
holger: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description holger 2014-09-15 16:43:14 UTC
Created attachment 147353 [details]
Guard the section
Comment 1 John Baldwin freebsd_committer freebsd_triage 2014-10-06 18:10:06 UTC
We can actually use a simpler test as I686_CPU is never defined on amd64 (so can just check for that and ignore amd64 entirely).  Thanks for the report, sorry about the breakage.
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-10-06 18:11:22 UTC
A commit references this bug:

Author: jhb
Date: Mon Oct  6 18:11:06 UTC 2014
New revision: 272666
URL: https://svnweb.freebsd.org/changeset/base/272666

Log:
  Fix build for i386 kernels with out 'I686_CPU'.

  PR:		193660
  Submitted by:	holger@freyther.de

Changes:
  head/sys/x86/x86/local_apic.c