aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/pic.c
diff options
context:
space:
mode:
authorMarvin Borner2021-06-12 22:10:07 +0200
committerMarvin Borner2021-06-12 22:10:07 +0200
commitd832f9ddc9187c83a52a724d4ea39aea08de485b (patch)
tree5aeff02924d552add90813fd324ab4e4807564a4 /kernel/drivers/pic.c
parentf60ab15600bc58233eec659eb3a76c5432fde69a (diff)
Fixed weird bugs without optimizations
I may have to revisit the exact problem in the future though.
Diffstat (limited to 'kernel/drivers/pic.c')
-rw-r--r--kernel/drivers/pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/pic.c b/kernel/drivers/pic.c
index 55ecfd6..84135d1 100644
--- a/kernel/drivers/pic.c
+++ b/kernel/drivers/pic.c
@@ -17,7 +17,7 @@
#define ICW1_ICW4 0x01
#define ICW1_INIT 0x10
-INLINE void pic_wait(void)
+CLEAR static void pic_wait(void)
{
__asm__ volatile("jmp 1f\n\t"
"1:\n\t"