x86/irq: Remove x86_io_apic_ops.write and x86_io_apic_ops.modify
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / apic / io_apic.c
index 76dc9f5bfdbccfc5a802e3df665c9d8d52e16a83..d687a10ed3a24a3483f5b374bd86a81cda254e19 100644 (file)
@@ -280,7 +280,8 @@ unsigned int native_io_apic_read(unsigned int apic, unsigned int reg)
        return readl(&io_apic->data);
 }
 
-void native_io_apic_write(unsigned int apic, unsigned int reg, unsigned int value)
+static void io_apic_write(unsigned int apic, unsigned int reg,
+                         unsigned int value)
 {
        struct io_apic __iomem *io_apic = io_apic_base(apic);
 
@@ -294,7 +295,8 @@ void native_io_apic_write(unsigned int apic, unsigned int reg, unsigned int valu
  *
  * Older SiS APIC requires we rewrite the index register
  */
-void native_io_apic_modify(unsigned int apic, unsigned int reg, unsigned int value)
+static void io_apic_modify(unsigned int apic, unsigned int reg,
+                          unsigned int value)
 {
        struct io_apic __iomem *io_apic = io_apic_base(apic);