commit | 28a2775217b17208811fa43a9e96bd1fdf417b86 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Sun Apr 29 15:01:37 2018 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu May 03 13:55:50 2018 +0200 |
tree | b72832cf4df7520d6de538c78db27218b5286dde | |
parent | da39556f66f5cfe8f9c989206974f1cb16ca5d7c [diff] |
x86/speculation: Create spec-ctrl.h to avoid include hell Having everything in nospec-branch.h creates a hell of dependencies when adding the prctl based switching mechanism. Move everything which is not required in nospec-branch.h to spec-ctrl.h and fix up the includes in the relevant files. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Ingo Molnar <mingo@kernel.org>