lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <158991832459.17951.14798835986906194460.tip-bot2@tip-bot2>
Date:   Tue, 19 May 2020 19:58:44 -0000
From:   "tip-bot2 for Thomas Gleixner" <tip-bot2@...utronix.de>
To:     linux-tip-commits@...r.kernel.org
Cc:     Thomas Gleixner <tglx@...utronix.de>, x86 <x86@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: [tip: x86/entry] x86/idt: Remove update_intr_gate()

The following commit has been merged into the x86/entry branch of tip:

Commit-ID:     8175cfbbbfcba992ed0dd5868d83733c4f38bbb9
Gitweb:        https://git.kernel.org/tip/8175cfbbbfcba992ed0dd5868d83733c4f38bbb9
Author:        Thomas Gleixner <tglx@...utronix.de>
AuthorDate:    Fri, 15 May 2020 17:39:05 +02:00
Committer:     Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Tue, 19 May 2020 16:03:49 +02:00

x86/idt: Remove update_intr_gate()

No more users.

Signed-off-by: Thomas Gleixner <tglx@...utronix.de>

---
 arch/x86/include/asm/desc.h | 1 -
 arch/x86/kernel/idt.c       | 8 --------
 2 files changed, 9 deletions(-)

diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h
index 68a99d2..085a2dd 100644
--- a/arch/x86/include/asm/desc.h
+++ b/arch/x86/include/asm/desc.h
@@ -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[];
diff --git a/arch/x86/kernel/idt.c b/arch/x86/kernel/idt.c
index 36fef90..95609ee 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))

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ