X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1fe5f5eb5378a47bf0f3451762743c162e40faad..3bdd71c82e64428a03650bf3d00150020e217c53:/lunaix-os/includes/lunaix/syscall.h diff --git a/lunaix-os/includes/lunaix/syscall.h b/lunaix-os/includes/lunaix/syscall.h index 1b9778f..3884f2a 100644 --- a/lunaix-os/includes/lunaix/syscall.h +++ b/lunaix-os/includes/lunaix/syscall.h @@ -5,9 +5,9 @@ #ifndef __ASM__ -#define SYSCALL_ESTATUS(errno) -((errno) != 0) +#include -#define asmlinkage __attribute__((regparm(0))) +#define SYSCALL_ESTATUS(errno) -((errno) != 0) #define __PARAM_MAP1(t1, p1) t1 p1 #define __PARAM_MAP2(t1, p1, ...) t1 p1, __PARAM_MAP1(__VA_ARGS__)