]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.9.28/powerpc-ftrace-fix-confusing-help-text-for-disable_mprofile_kernel.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.9.28 / powerpc-ftrace-fix-confusing-help-text-for-disable_mprofile_kernel.patch
1 From 496e9cb5b2aa2ba303d2bbd08518f9be2219ab4b Mon Sep 17 00:00:00 2001
2 From: Anton Blanchard <anton@samba.org>
3 Date: Fri, 10 Feb 2017 12:16:59 +1100
4 Subject: powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
5
6 From: Anton Blanchard <anton@samba.org>
7
8 commit 496e9cb5b2aa2ba303d2bbd08518f9be2219ab4b upstream.
9
10 The final paragraph of the help text is reversed. We want to enable
11 this option by default, and disable it if the toolchain has a working
12 -mprofile-kernel.
13
14 Fixes: 8c50b72a3b4f ("powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel")
15 Signed-off-by: Anton Blanchard <anton@samba.org>
16 Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18
19 ---
20 arch/powerpc/Kconfig | 4 ++--
21 1 file changed, 2 insertions(+), 2 deletions(-)
22
23 --- a/arch/powerpc/Kconfig
24 +++ b/arch/powerpc/Kconfig
25 @@ -388,8 +388,8 @@ config DISABLE_MPROFILE_KERNEL
26 be disabled also.
27
28 If you have a toolchain which supports mprofile-kernel, then you can
29 - enable this. Otherwise leave it disabled. If you're not sure, say
30 - "N".
31 + disable this. Otherwise leave it enabled. If you're not sure, say
32 + "Y".
33
34 config MPROFILE_KERNEL
35 depends on PPC64 && CPU_LITTLE_ENDIAN