diff options
author | Ingo Molnar <[email protected]> | 2018-02-21 09:20:37 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-21 16:54:03 +0100 |
commit | d72f4e29e6d84b7ec02ae93088aa459ac70e733b (patch) | |
tree | a4ac9e093f9b31d1e592ea909355df6c6ea0fac7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ca41b97ed9124fd62323a162de5852f6e28f94b8 (diff) |
x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
firmware_restrict_branch_speculation_*() recently started using
preempt_enable()/disable(), but those are relatively high level
primitives and cause build failures on some 32-bit builds.
Since we want to keep <asm/nospec-branch.h> low level, convert
them to macros to avoid header hell...
Cc: David Woodhouse <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[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]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions