OSDN Git Service

linux: Fix out[bwl] macros on non-I/O architectures
authorAdam Jackson <ajax@redhat.com>
Mon, 5 Mar 2012 16:01:01 +0000 (11:01 -0500)
committerAdam Jackson <ajax@redhat.com>
Mon, 5 Mar 2012 16:01:01 +0000 (11:01 -0500)
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/linux_sysfs.c

index b817860..97fcf36 100644 (file)
@@ -51,9 +51,9 @@
 #define inb(x) -1
 #define inw(x) -1
 #define inl(x) -1
-#define outb(x) do {} while (0)
-#define outw(x) do {} while (0)
-#define outl(x) do {} while (0)
+#define outb(x,y) do {} while (0)
+#define outw(x,y) do {} while (0)
+#define outl(x,y) do {} while (0)
 #define iopl(x) -1
 #endif