]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86: Add native_[ig]dt_invalidate()
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Wed, 19 May 2021 21:21:51 +0000 (14:21 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 21 May 2021 10:36:45 +0000 (12:36 +0200)
commit283fa3b6483a84aeb62f1b97c2ec7c02eb2f5882
tree4ac6f53fae6809c9afe18ab6699fcf606f555067
parent8ec9069a432c873e52e6f4ce1496f282a4299604
x86: Add native_[ig]dt_invalidate()

In some places, the native forms of descriptor table invalidation is
required. Rather than open-coding them, add explicitly native functions to
invalidate the GDT and IDT.

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-6-hpa@zytor.com
arch/x86/include/asm/desc.h