summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2012-03-05 11:01:01 -0500
committerAdam Jackson <ajax@redhat.com>2012-03-05 11:01:01 -0500
commitb16336c0b389ace07f7418f5a021bfbc68fec2b6 (patch)
tree254c811d0d49f656b833af38d45f1573019886ef
parentfa15fbcdbcfed09ea269ca3fb5f0e3dc2446e66f (diff)
linux: Fix out[bwl] macros on non-I/O architectures
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/linux_sysfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
index b817860..97fcf36 100644
--- a/src/linux_sysfs.c
+++ b/src/linux_sysfs.c
@@ -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