x86/speculation: Add <asm/msr-index.h> dependency
authorPeter Zijlstra <[email protected]>
Tue, 13 Feb 2018 13:28:19 +0000 (14:28 +0100)
committerIngo Molnar <[email protected]>
Thu, 15 Feb 2018 00:15:51 +0000 (01:15 +0100)
commitea00f301285ea2f07393678cd2b6057878320c9d
tree70dcf55cc63c3dd0cb528e2bdc1e870bb390db02
parent8fa80c503b484ddc1abbd10c7cb2ab81f3824a50
x86/speculation: Add <asm/msr-index.h> dependency

Joe Konno reported a compile failure resulting from using an MSR
without inclusion of <asm/msr-index.h>, and while the current code builds
fine (by accident) this needs fixing for future patches.

Reported-by: Joe Konno <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: 20ffa1caecca ("x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/nospec-branch.h