summaryrefslogtreecommitdiff
path: root/arch/i386/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/include/kernel')
-rw-r--r--arch/i386/include/kernel/pic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h
index a9387db..c15c02f 100644
--- a/arch/i386/include/kernel/pic.h
+++ b/arch/i386/include/kernel/pic.h
@@ -26,12 +26,12 @@
#define PIC_READ_ISR 0x0B
static inline void outb(uint16_t port, uint8_t value) {
- asm volatile("outb %0, %1" : : "a"(value), "Nd"(port));
+ __asm__ volatile("outb %0, %1" : : "a"(value), "Nd"(port));
}
static inline uint8_t inb(uint16_t port) {
uint8_t ret;
- asm volatile("inb %1, %0" : "=a"(ret) : "Nd"(port));
+ __asm__ volatile("inb %1, %0" : "=a"(ret) : "Nd"(port));
return ret;
}