diff options
author | Alexander Kuleshov <[email protected]> | 2016-01-25 20:41:46 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-01 10:45:14 +0100 |
commit | d99e1bd175f4291ddb6e62b22bb5bdbe3976389a (patch) | |
tree | 14aa5d1e624e2b252b1959e703c9b0b934059113 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb56968a37a44070de92d5690c4b08dd98a5d3f1 (diff) |
x86/entry/traps: Refactor preemption and interrupt flag handling
Make the preemption and interrupt flag handling more readable by
removing preempt_conditional_sti() and preempt_conditional_cli()
helpers and using preempt_disable() and
preempt_enable_no_resched() instead.
Rename contitional_sti() and conditional_cli() to the more
understandable cond_local_irq_enable() and
cond_local_irq_disable() respectively, while at it.
Suggested-by: Borislav Petkov <[email protected]>
Signed-off-by: Alexander Kuleshov <[email protected]>
[ Boris: massage text. ]
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[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