aboutsummaryrefslogtreecommitdiff
path: root/i686/isr.c
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-05-24 21:29:00 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-05-24 21:29:29 +0300
commit050aa3ab70dd69d1ca8ffe94fd146039a0885550 (patch)
tree4002a7a0bb86580cc6a2adc2eee45891ee068540 /i686/isr.c
parentPlace compiled objects and dependencies in build/ (diff)
downloadkernel-050aa3ab70dd69d1ca8ffe94fd146039a0885550.tar.xz
Make code ANSI C compatible
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();
}