projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa80c5
)
x86/speculation: Add <asm/msr-index.h> dependency
author
Peter Zijlstra
<
[email protected]
>
Tue, 13 Feb 2018 13:28:19 +0000
(14:28 +0100)
committer
Ingo Molnar
<
[email protected]
>
Thu, 15 Feb 2018 00:15:51 +0000
(
01:15
+0100)
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
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/nospec-branch.h
b/arch/x86/include/asm/nospec-branch.h
index 300cc159b4a0a47acdf1cab08822dfcde706d41d..76b058533e473b10d99e7a1ee4b661b5b2b2b14d 100644
(file)
--- a/
arch/x86/include/asm/nospec-branch.h
+++ b/
arch/x86/include/asm/nospec-branch.h
@@
-6,6
+6,7
@@
#include <asm/alternative.h>
#include <asm/alternative-asm.h>
#include <asm/cpufeatures.h>
+#include <asm/msr-index.h>
#ifdef __ASSEMBLY__