From: H. Peter Anvin Date: Mon, 8 Sep 2008 19:01:48 +0000 (-0700) Subject: x86: prevent binutils from being "smart" and generating NOPLs for us X-Git-Tag: v2.6.28-rc1~699^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f7e66fc1da53997a545684b21b91fb3ca3f321;p=pandora-kernel.git x86: prevent binutils from being "smart" and generating NOPLs for us binutils, contrary to documented behaviour, will generate long NOPs (a P6-or-higher instruction which is broken on at least some VIA chips, Virtual PC/Virtual Server, and some versions of Qemu) depending on the -mtune= option, which is not supposed to change architectural behaviour. Pass an explicit override to the assembler, in case ends up passing the -mtune= parameter to gas (gcc 4.3.0 does not appear to.) Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed