diff options
author | Uros Bizjak <[email protected]> | 2023-12-04 22:02:30 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-12-11 11:47:15 +0100 |
commit | 13408c6ae684181d53c870cceddbd3a62ae34c3e (patch) | |
tree | 0c32ced2bf6b1022247a6307e4e77d76b3f33518 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 0e3703630bd3fead041a6bfb3a3f2a9891af6c34 (diff) |
x86/traps: Use current_top_of_stack() helper in traps.c
Use current_top_of_stack() helper in sync_regs() and vc_switch_off_ist()
instead of open-coding the reading of the top_of_stack percpu variable
explicitly.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions