|
@@ -285,6 +285,9 @@ pci_bus_to_hose(int bus)
|
|
* Note that the returned IO or memory base is a physical address
|
|
* 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,
|
|
SYSCALL_DEFINE3(pciconfig_iobase, long, which,
|
|
unsigned long, bus, unsigned long, devfn)
|
|
unsigned long, bus, unsigned long, devfn)
|
|
{
|
|
{
|
|
@@ -310,3 +313,4 @@ SYSCALL_DEFINE3(pciconfig_iobase, long, which,
|
|
|
|
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
+#pragma GCC diagnostic pop
|