Searched hist:"8 ec9069a432c873e52e6f4ce1496f282a4299604" (Results 1 – 3 of 3) sorted by relevance
/linux/arch/x86/kernel/ |
H A D | machine_kexec_32.c | diff 8ec9069a432c873e52e6f4ce1496f282a4299604 Wed May 19 23:21:50 CEST 2021 H. Peter Anvin (Intel) <hpa@zytor.com> x86/idt: Remove address argument from idt_invalidate()
There is no reason to specify any specific address to idt_invalidate(). It looks mostly like an artifact of unifying code done differently by accident. The most "sensible" address to set here is a NULL pointer - virtual address zero, just as a visual marker.
This also makes it possible to mark the struct desc_ptr in idt_invalidate() as static const.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210519212154.511983-5-hpa@zytor.com
|
H A D | idt.c | diff 8ec9069a432c873e52e6f4ce1496f282a4299604 Wed May 19 23:21:50 CEST 2021 H. Peter Anvin (Intel) <hpa@zytor.com> x86/idt: Remove address argument from idt_invalidate()
There is no reason to specify any specific address to idt_invalidate(). It looks mostly like an artifact of unifying code done differently by accident. The most "sensible" address to set here is a NULL pointer - virtual address zero, just as a visual marker.
This also makes it possible to mark the struct desc_ptr in idt_invalidate() as static const.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210519212154.511983-5-hpa@zytor.com
|
/linux/arch/x86/include/asm/ |
H A D | desc.h | diff 8ec9069a432c873e52e6f4ce1496f282a4299604 Wed May 19 23:21:50 CEST 2021 H. Peter Anvin (Intel) <hpa@zytor.com> x86/idt: Remove address argument from idt_invalidate()
There is no reason to specify any specific address to idt_invalidate(). It looks mostly like an artifact of unifying code done differently by accident. The most "sensible" address to set here is a NULL pointer - virtual address zero, just as a visual marker.
This also makes it possible to mark the struct desc_ptr in idt_invalidate() as static const.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210519212154.511983-5-hpa@zytor.com
|