summaryrefslogtreecommitdiff
path: root/arch/x86/machine/ioapic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/ioapic.c')
-rw-r--r--arch/x86/machine/ioapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/ioapic.c b/arch/x86/machine/ioapic.c
index d70ec92b..82fbd6d5 100644
--- a/arch/x86/machine/ioapic.c
+++ b/arch/x86/machine/ioapic.c
@@ -209,7 +209,7 @@ ioapic_create(unsigned int apic_id, uintptr_t addr, unsigned int gsi_base)
return ioapic;
}
-__unused static bool
+static bool
ioapic_has_gsi(const struct ioapic *ioapic, unsigned int gsi)
{
return ((gsi >= ioapic->first_gsi) && (gsi <= ioapic->last_gsi));