aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/inc/cpu.h')
-rw-r--r--libs/libc/inc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libc/inc/cpu.h b/libs/libc/inc/cpu.h
index 52e5571..4c6e721 100644
--- a/libs/libc/inc/cpu.h
+++ b/libs/libc/inc/cpu.h
@@ -14,7 +14,7 @@ void outb(u16 port, u8 data);
void outw(u16 port, u16 data);
void outl(u16 port, u32 data);
-static inline void spinlock(u8 *ptr)
+static inline void spinlock(u32 *ptr)
{
u32 prev;
do