From 5fe27abd6204dd17787d7d0046015777444357ff Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sat, 15 Jan 2022 16:26:00 -0600 Subject: arch: i386: fix coding style issue Make the inline assembly calls consistent across different i386 files. Signed-off-by: Danny Holman --- arch/i386/include/kernel/pic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch') 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; } -- cgit v1.2.3