diff options
author | Ian Moffett <ian@osmora.org> | 2025-02-15 00:51:22 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-02-15 01:20:56 -0500 |
commit | c8213f1f2186e81c32a53e49d3ce154865232b48 (patch) | |
tree | 5135d99125c214aa5a27743064f11a88813e01f2 /sys | |
parent | 10a3e3f5d3a02e28063abc039bd58e032c63bf3f (diff) |
kernel/amd64: lapic: Get rid of unused function
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/lapic.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c index 317255a..ddf6d67 100644 --- a/sys/arch/amd64/amd64/lapic.c +++ b/sys/arch/amd64/amd64/lapic.c @@ -206,22 +206,6 @@ lapic_reg_set(uint32_t reg, uint32_t value) } /* - * Clear bits within a LAPIC register - * without overwriting the whole thing. - * - * @reg: Reg with bits to be cleared. - * @value: Value in reg will be cleared by this value. - */ -static inline void -lapic_reg_clear(uint32_t reg, uint32_t value) -{ - uint32_t old; - - old = lapic_readl(reg); - lapic_writel(reg, old & ~(value)); -} - -/* * Hardware and software enable the Local APIC * through IA32_APIC_BASE_MSR and the SVR. */ |