diff options
author | Kirill A. Shutemov <[email protected]> | 2018-03-12 13:02:43 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-12 11:49:24 +0100 |
commit | 7beebaccd5083d61e975acb581bd528b9326e7c4 (patch) | |
tree | 4a17c5059fa6911392237317aef8261bceb9f6f6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a5b162b2ecb013ed517ab5ce90079117ada743f4 (diff) |
x86/boot/compressed/64: Make sure we have a 32-bit code segment
When kernel starts in 64-bit mode we inherit the GDT from the bootloader.
It may cause a problem if the GDT doesn't have a 32-bit code segment
where we expect it to be.
Load our own GDT with known segments.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions