summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-05-15 17:39:05 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 15:14:37 +0200
commitfba8dbeaf30e2c8db2c2cfeb38f6dbffcbf86bba (patch)
treeabab99300a2040c1bf72cfb5a677c94958fa3b4e /arch/x86/kernel
parent5916d5f9b3347344a3d96ba6b54cf8e290eba96a (diff)
x86/idt: Remove update_intr_gate()
No more users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/idt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/idt.c b/arch/x86/kernel/idt.c
index 36fef90a38e7..95609ee4c8b3 100644
--- a/arch/x86/kernel/idt.c
+++ b/arch/x86/kernel/idt.c
@@ -360,14 +360,6 @@ void idt_invalidate(void *addr)
load_idt(&idt);
}
-/* This goes away once ASYNC_PF is sanitized */
-void __init update_intr_gate(unsigned int n, const void *addr)
-{
- if (WARN_ON_ONCE(!test_bit(n, system_vectors)))
- return;
- set_intr_gate(n, addr);
-}
-
void __init alloc_intr_gate(unsigned int n, const void *addr)
{
if (WARN_ON(n < FIRST_SYSTEM_VECTOR))