diff options
author | Ian Moffett <ian@osmora.org> | 2025-02-15 00:51:22 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-02-15 00:51:22 -0500 |
commit | 7eb80b3a894bd920111ccb0ef33d08b732cd0ff8 (patch) | |
tree | 5135d99125c214aa5a27743064f11a88813e01f2 /sys | |
parent | 0007887a0a0de22bcf781af5f2fc18b538e733f7 (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. */ |