]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
x86: Force asm-goto
authorPeter Zijlstra <peterz@infradead.org>
Wed, 17 Jan 2018 10:42:07 +0000 (11:42 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 20 Mar 2018 09:58:02 +0000 (10:58 +0100)
commite501ce957a786ecd076ea0cfb10b114e6e4d0f40
tree93beb08eb9a78f81c80866baf25f7472df35b955
parentedc39c9b4589a4ce9a69273b5a27a1459c3423d4
x86: Force asm-goto

We want to start using asm-goto to guarantee the absence of dynamic
branches (and thus speculation).

A primary prerequisite for this is of course that the compiler
supports asm-goto. This effecively lifts the minimum GCC version to
build an x86 kernel to gcc-4.5.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: torvalds@linux-foundation.org
Link: https://lkml.kernel.org/r/20180319201327.GJ4043@hirez.programming.kicks-ass.net
Makefile
arch/x86/Makefile