Re: [GIT pull] x86/pti updates for 4.15

From: Thomas Gleixner
Date: Sun Jan 14 2018 - 18:37:50 EST


On Sun, 14 Jan 2018, Linus Torvalds wrote:

> On Sun, Jan 14, 2018 at 1:01 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> >
> > Good point. I'll queue a patch to that effect or do you just want to do
> > that yourself?
>
> I don't think it's critical, and I don't care for rc8, so it's not
> timing-sensitive.

The removal patch can be pulled from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus

It's better we get rid of it now.

Thanks,

tglx

------------------>
Thomas Gleixner (1):
x86/retpoline: Remove compile time warning


arch/x86/Makefile | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 974c61864978..504b1a4535ac 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -240,8 +240,6 @@ ifdef CONFIG_RETPOLINE
RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register)
ifneq ($(RETPOLINE_CFLAGS),)
KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE
- else
- $(warning CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.)
endif
endif