diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-09-14 15:08:53 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-13 09:51:05 +0100 |
commit | 24e26062b90efe03e6f1cca51bd880353ae87d99 (patch) | |
tree | c9e2cec34237e916c6718f7d58bdbbdcfff8de9a /arch/powerpc/xmon | |
parent | 5b59eeba6b00ddceae41e06f363d63bb77b53d7e (diff) | |
download | linux-stable-24e26062b90efe03e6f1cca51bd880353ae87d99.tar.gz linux-stable-24e26062b90efe03e6f1cca51bd880353ae87d99.tar.bz2 linux-stable-24e26062b90efe03e6f1cca51bd880353ae87d99.zip |
powerpc: consolidate -mno-sched-epilog into FTRACE flags
commit 2a056f58fd33ccc6a0261b552b0f17e7fa4a12f3 upstream.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r-- | arch/powerpc/xmon/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/Makefile b/arch/powerpc/xmon/Makefile index 1bc3abb237cd..93cc1f1b8b61 100644 --- a/arch/powerpc/xmon/Makefile +++ b/arch/powerpc/xmon/Makefile @@ -8,7 +8,7 @@ UBSAN_SANITIZE := n # Disable ftrace for the entire directory ORIG_CFLAGS := $(KBUILD_CFLAGS) -KBUILD_CFLAGS = $(subst -mno-sched-epilog,,$(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))) +KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS)) ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) |