diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-01 11:40:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-01 11:40:25 -0400 |
commit | 5778077d03cb25aac9b6a428e18970642fc019e3 (patch) | |
tree | 2e3f3da1fb99c3646da5ed9a09644696ca5f2309 /arch/x86/Makefile | |
parent | 65a99597f044c083983f4274ab049c9ec3b9d764 (diff) | |
parent | 7e01ebffffedec22cea86ebe94802f909e4579ca (diff) |
Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 asm changes from Ingo Molnar:
"The biggest changes in this cycle were:
- Revamp, simplify (and in some cases fix) Time Stamp Counter (TSC)
primitives. (Andy Lutomirski)
- Add new, comprehensible entry and exit handlers written in C.
(Andy Lutomirski)
- vm86 mode cleanups and fixes. (Brian Gerst)
- 32-bit compat code cleanups. (Brian Gerst)
The amount of simplification in low level assembly code is already
palpable:
arch/x86/entry/entry_32.S | 130 +----
arch/x86/entry/entry_64.S | 197 ++-----
but more simplifications are planned.
There's also the usual laudry mix of low level changes - see the
changelog for details"
* 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (83 commits)
x86/asm: Drop repeated macro of X86_EFLAGS_AC definition
x86/asm/msr: Make wrmsrl() a function
x86/asm/delay: Introduce an MWAITX-based delay with a configurable timer
x86/asm: Add MONITORX/MWAITX instruction support
x86/traps: Weaken context tracking entry assertions
x86/asm/tsc: Add rdtscll() merge helper
selftests/x86: Add syscall_nt selftest
selftests/x86: Disable sigreturn_64
x86/vdso: Emit a GNU hash
x86/entry: Remove do_notify_resume(), syscall_trace_leave(), and their TIF masks
x86/entry/32: Migrate to C exit path
x86/entry/32: Remove 32-bit syscall audit optimizations
x86/vm86: Rename vm86->v86flags and v86mask
x86/vm86: Rename vm86->vm86_info to user_vm86
x86/vm86: Clean up vm86.h includes
x86/vm86: Move the vm86 IRQ definitions to vm86.h
x86/vm86: Use the normal pt_regs area for vm86
x86/vm86: Eliminate 'struct kernel_vm86_struct'
x86/vm86: Move fields from 'struct kernel_vm86_struct' to 'struct vm86'
x86/vm86: Move vm86 fields out of 'thread_struct'
...
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 0f38418719ab..747860c696e1 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -39,6 +39,16 @@ ifdef CONFIG_X86_NEED_RELOCS | |||
39 | LDFLAGS_vmlinux := --emit-relocs | 39 | LDFLAGS_vmlinux := --emit-relocs |
40 | endif | 40 | endif |
41 | 41 | ||
42 | # | ||
43 | # Prevent GCC from generating any FP code by mistake. | ||
44 | # | ||
45 | # This must happen before we try the -mpreferred-stack-boundary, see: | ||
46 | # | ||
47 | # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383 | ||
48 | # | ||
49 | KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow | ||
50 | KBUILD_CFLAGS += $(call cc-option,-mno-avx,) | ||
51 | |||
42 | ifeq ($(CONFIG_X86_32),y) | 52 | ifeq ($(CONFIG_X86_32),y) |
43 | BITS := 32 | 53 | BITS := 32 |
44 | UTS_MACHINE := i386 | 54 | UTS_MACHINE := i386 |
@@ -167,9 +177,6 @@ KBUILD_CFLAGS += -pipe | |||
167 | KBUILD_CFLAGS += -Wno-sign-compare | 177 | KBUILD_CFLAGS += -Wno-sign-compare |
168 | # | 178 | # |
169 | KBUILD_CFLAGS += -fno-asynchronous-unwind-tables | 179 | KBUILD_CFLAGS += -fno-asynchronous-unwind-tables |
170 | # prevent gcc from generating any FP code by mistake | ||
171 | KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow | ||
172 | KBUILD_CFLAGS += $(call cc-option,-mno-avx,) | ||
173 | 180 | ||
174 | KBUILD_CFLAGS += $(mflags-y) | 181 | KBUILD_CFLAGS += $(mflags-y) |
175 | KBUILD_AFLAGS += $(mflags-y) | 182 | KBUILD_AFLAGS += $(mflags-y) |