diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index d63b488d34d79033fa7229bfeb4d306cf6b56bc0..4f861055a8521276c89c71cd67c41425c38c0ac2 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c @@ -285,6 +285,9 @@ pci_bus_to_hose(int bus) * Note that the returned IO or memory base is a physical address */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" +#pragma GCC diagnostic ignored "-Wattribute-alias" SYSCALL_DEFINE3(pciconfig_iobase, long, which, unsigned long, bus, unsigned long, devfn) { @@ -310,3 +313,4 @@ SYSCALL_DEFINE3(pciconfig_iobase, long, which, return result; } +#pragma GCC diagnostic pop