diff options
Diffstat (limited to 'kernel/arch/x86/include/uapi/asm/vsyscall.h')
-rw-r--r-- | kernel/arch/x86/include/uapi/asm/vsyscall.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/arch/x86/include/uapi/asm/vsyscall.h b/kernel/arch/x86/include/uapi/asm/vsyscall.h new file mode 100644 index 000000000..b97dd6e26 --- /dev/null +++ b/kernel/arch/x86/include/uapi/asm/vsyscall.h @@ -0,0 +1,12 @@ +#ifndef _UAPI_ASM_X86_VSYSCALL_H +#define _UAPI_ASM_X86_VSYSCALL_H + +enum vsyscall_num { + __NR_vgettimeofday, + __NR_vtime, + __NR_vgetcpu, +}; + +#define VSYSCALL_ADDR (-10UL << 20) + +#endif /* _UAPI_ASM_X86_VSYSCALL_H */ |