diff options
author | Adam Jackson <ajax@redhat.com> | 2012-03-05 11:01:01 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2012-03-05 11:01:01 -0500 |
commit | b16336c0b389ace07f7418f5a021bfbc68fec2b6 (patch) | |
tree | 254c811d0d49f656b833af38d45f1573019886ef | |
parent | fa15fbcdbcfed09ea269ca3fb5f0e3dc2446e66f (diff) | |
download | libpciaccess-b16336c0b389ace07f7418f5a021bfbc68fec2b6.tar.gz libpciaccess-b16336c0b389ace07f7418f5a021bfbc68fec2b6.tar.bz2 libpciaccess-b16336c0b389ace07f7418f5a021bfbc68fec2b6.zip |
linux: Fix out[bwl] macros on non-I/O architectures
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/linux_sysfs.c | 6 |
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 |