aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <[email protected]>2021-05-19 21:21:52 +0000
committerThomas Gleixner <[email protected]>2021-05-21 10:36:45 +0000
commit056c52f5e824c050c58fd27ea6d717cba32239c2 (patch)
tree959cd2eaf3c96b8db3aa8b45c18514b7f860f941 /lib/dump_stack.c
parentx86: Add native_[ig]dt_invalidate() (diff)
downloadkernel-056c52f5e824c050c58fd27ea6d717cba32239c2.tar.gz
kernel-056c52f5e824c050c58fd27ea6d717cba32239c2.zip
x86/kexec: Set_[gi]dt() -> native_[gi]dt_invalidate() in machine_kexec_*.c
These files contain private set_gdt() functions which are only used to invalid the gdt; machine_kexec_64.c also contains a set_idt() function to invalidate the idt. phys_to_virt(0) *really* doesn't make any sense for creating an invalid GDT. A NULL pointer (virtual 0) makes a lot more sense; although neither will allow any actual memory reference, a NULL pointer stands out more. Replace these calls with native_[gi]dt_invalidate(). Signed-off-by: H. Peter Anvin (Intel) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions