summaryrefslogtreecommitdiff
path: root/include/asm/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm/io.h')
-rw-r--r--include/asm/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm/io.h b/include/asm/io.h
index 6ca5bbc..1c2e5bc 100644
--- a/include/asm/io.h
+++ b/include/asm/io.h
@@ -6,9 +6,9 @@
#define inb(port) ({ \
unsigned char _val; \
- asm volatile ("inb %%dx, %%al" : "=a" (_val) : "d" (port)); \
+ __asm__ volatile ("inb %%dx, %%al" : "=a" (_val) : "d" (port)); \
_val; \
})
#define outb(port, val) \
- asm volatile ("outb %%al, %%dx" : : "d" (port), "a" (val));
+ __asm__ volatile ("outb %%al, %%dx" : : "d" (port), "a" (val));