diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-12 05:35:20 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-12-09 13:55:32 +0300 |
commit | 63fea0af43af5beb3779fd2cae078d5d77b4bb11 (patch) | |
tree | 7fee25f77d94a4dc8dc9ae85c4dc5941be047813 /arch/x86/Makefile | |
parent | 829889ac4a7d26858860c297e64051bd27ce8fbe (diff) | |
download | linux-63fea0af43af5beb3779fd2cae078d5d77b4bb11.tar.xz |
x86, powerpc: Remove -funit-at-a-time compiler option entirely
GCC 4.6 manual says:
-funit-at-a-time
This option is left for compatibility reasons. -funit-at-a-time has
no effect, while -fno-unit-at-a-time implies -fno-toplevel-reorder
and -fno-section-anchors. Enabled by default.
Remove it.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Richard Weinberger <richard@sigma-star.at>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/1541990120-9643-3-git-send-email-yamada.masahiro@socionext.com
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index f5d7f4134524..58d82e9dc36d 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -130,10 +130,6 @@ else KBUILD_CFLAGS += -mno-red-zone KBUILD_CFLAGS += -mcmodel=kernel - - # -funit-at-a-time shrinks the kernel .text considerably - # unfortunately it makes reading oopses harder. - KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time) endif ifdef CONFIG_X86_X32 |