projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d3cce1
)
x86/build: Remove old -funit-at-a-time GCC quirk
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Mon, 9 Jul 2018 12:07:21 +0000
(21:07 +0900)
committer
Ingo Molnar
<mingo@kernel.org>
Sun, 15 Jul 2018 22:25:10 +0000
(
00:25
+0200)
The following commit:
e501ce957a78
("x86: Force asm-goto")
... bumped the minimum GCC version to 4.5 for building the x86 kernel.
arch/x86/Makefile no longer needs to take care of older GCC versions,
such as this pre-4.0 -funit-at-a-time quirk.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link:
http://lkml.kernel.org/r/1531138041-24200-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/Makefile
b/arch/x86/Makefile
index a08e82856563ddc34079e96b592e5c60edbc30aa..7e3c07d6ad424b228b0c50f2370fdb195794b61c 100644
(file)
--- a/
arch/x86/Makefile
+++ b/
arch/x86/Makefile
@@
-80,11
+80,6
@@
ifeq ($(CONFIG_X86_32),y)
# alignment instructions.
KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align4))
- # Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use
- # a lot more stack due to the lack of sharing of stacklots:
- KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0400, \
- $(call cc-option,-fno-unit-at-a-time))
-
# CPU-specific tuning. Anything which can be shared with UML should go here.
include arch/x86/Makefile_32.cpu
KBUILD_CFLAGS += $(cflags-y)