aboutsummaryrefslogtreecommitdiff
path: root/i686/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'i686/isr.c')
-rw-r--r--i686/isr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i686/isr.c b/i686/isr.c
index 8af5d33..acc2961 100644
--- a/i686/isr.c
+++ b/i686/isr.c
@@ -20,7 +20,7 @@ __attribute__((interrupt)) void
syscall_handler(__attribute__((unused)) struct interrupt_frame *frame)
{
unsigned int n;
- asm volatile("mov %%eax, %0" : "=r"(n));
+ __asm__("mov %%eax, %0" : "=r"(n));
printf("syscall %x\n, n");
abort();
}