diff options
| author | Andy Lutomirski <[email protected]> | 2017-12-14 21:19:05 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-12-15 11:18:29 +0000 |
| commit | 090edbe23ff57940fca7f57d9165ce57a826bd7a (patch) | |
| tree | a074ef37c282f32f325aca3baab82f0f5a29319c /tools/perf/scripts/python/futex-contention.py | |
| parent | x86/unwinder/guess: Prevent using CONFIG_UNWINDER_GUESS=y with CONFIG_STACKDE... (diff) | |
| download | kernel-090edbe23ff57940fca7f57d9165ce57a826bd7a.tar.gz kernel-090edbe23ff57940fca7f57d9165ce57a826bd7a.zip | |
x86/power/64: Use struct desc_ptr for the IDT in struct saved_context
x86_64's saved_context nonsensically used separate idt_limit and
idt_base fields and then cast &idt_limit to struct desc_ptr *.
This was correct (with -fno-strict-aliasing), but it's confusing,
served no purpose, and required #ifdeffery. Simplify this by
using struct desc_ptr directly.
No change in functionality.
Tested-by: Jarkko Nikula <[email protected]>
Signed-off-by: Andy Lutomirski <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Zhang Rui <[email protected]>
Link: http://lkml.kernel.org/r/967909ce38d341b01d45eff53e278e2728a3a93a.1513286253.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
