lkml.org 
[lkml]   [2008]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] x86 kenel won't boot under Virtual PC
H. Peter Anvin wrote:
>
> The help text is indeed out of date. I did a patch yesterday to, among
> other things, update it; I also want to verify that we are disabling all
> options that can cause gcc or binutils to generate nopl's; I plan to
> push it today.
>

OK, turns out that is already happending, by virtue of:

# add at the end to overwrite eventual tuning options from earlier
# cpu entries
cflags-$(CONFIG_X86_GENERIC) += $(call tune,generic,$(call tune,i686))

-mtune=generic on 32-bit CPUs disable NOPL generation, and any
gcc/binutils combo too old to have -mtune=generic won't generate them at
all.

I think I verified this some time in the past, but I just had to refresh
my memory. This was a major reason to put this functionality on
CONFIG_X86_GENERIC.

-hpa


\
 
 \ /
  Last update: 2008-09-08 17:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site