mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-03 19:24:02 +08:00
x86/idt: Remove update_intr_gate()
No more users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
5916d5f9b3
commit
fba8dbeaf3
@ -386,7 +386,6 @@ static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit)
|
||||
desc->limit1 = (limit >> 16) & 0xf;
|
||||
}
|
||||
|
||||
void update_intr_gate(unsigned int n, const void *addr);
|
||||
void alloc_intr_gate(unsigned int n, const void *addr);
|
||||
|
||||
extern unsigned long system_vectors[];
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user