aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-02-02 12:13:51 -0500
committerArd Biesheuvel <[email protected]>2020-02-22 23:37:37 +0100
commitef5a7b5eb13ed88ba9690ab27def3a085332cc8c (patch)
tree33800f398124e6675d2f2f00a5853f77694c50aa /tools/perf/scripts/python
parentcae0e431a02cd63fecaf677ae166f184644125a7 (diff)
efi/x86: Remove GDT setup from efi_main
The 64-bit kernel will already load a GDT in startup_64, which is the next function to execute after return from efi_main. Add GDT setup code to the 32-bit kernel's startup_32 as well. Doing it in the head code has the advantage that we can avoid potentially corrupting the GDT during copy/decompression. This also removes dependence on having a specific GDT layout setup by the bootloader. Both startup_32 and startup_64 now clear interrupts on entry, so we can remove that from efi_main as well. Signed-off-by: Arvind Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions