diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-05-24 21:29:00 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-05-24 21:29:29 +0300 |
commit | 050aa3ab70dd69d1ca8ffe94fd146039a0885550 (patch) | |
tree | 4002a7a0bb86580cc6a2adc2eee45891ee068540 /i686/isr.c | |
parent | Place compiled objects and dependencies in build/ (diff) | |
download | kernel-050aa3ab70dd69d1ca8ffe94fd146039a0885550.tar.xz |
Make code ANSI C compatible
Diffstat (limited to 'i686/isr.c')
-rw-r--r-- | i686/isr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |