diff options
Diffstat (limited to 'kernel/drivers/timer.c')
-rw-r--r-- | kernel/drivers/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/timer.c b/kernel/drivers/timer.c index a3b4137..0207cc0 100644 --- a/kernel/drivers/timer.c +++ b/kernel/drivers/timer.c @@ -27,7 +27,7 @@ void timer_wait(u32 ticks) eticks = timer_ticks + ticks; while (timer_ticks < eticks) { - __asm__("sti//hlt//cli"); + __asm__ volatile("sti//hlt//cli"); } } |