diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-11-20 13:31:49 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-12-03 17:40:22 -0800 |
commit | 5551a34e5aeab868f8d37f70d8754868921b4ee5 (patch) | |
tree | b3ed8f5e9270648e76d5f67d1787f8cbaf22daf7 /arch/x86/include/asm/local.h | |
parent | fdeadb43fdf1e7d5698c027b555c389174548e5a (diff) |
x86-64, build: Always pass in -mno-sse
Always pass in the -mno-sse argument, regardless if
-preferred-stack-boundary is supported. We never want to generate SSE
instructions in the kernel unless we *really* know what we're doing.
According to H. J. Lu, any version of gcc new enough that we support
it at all should handle the -mno-sse option, so just add it
unconditionally.
Reported-by: Kevin B. Smith <kevin.b.smith@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: H. J. Lu <hjl.tools@gmail.com>
Link: http://lkml.kernel.org/n/tip-j21wzqv790q834n7yc6g80j1@git.kernel.org
Cc: <stable@vger.kernel.org> # build fix only
Diffstat (limited to 'arch/x86/include/asm/local.h')
0 files changed, 0 insertions, 0 deletions