1 #ifndef _ASM_X86_VSYSCALL_H
2 #define _ASM_X86_VSYSCALL_H
4 #include <linux/seqlock.h>
5 #include <uapi/asm/vsyscall.h>
7 #ifdef CONFIG_X86_VSYSCALL_EMULATION
8 extern void map_vsyscall(void);
11 * Called on instruction fetch fault in vsyscall page.
12 * Returns true if handled.
14 extern bool emulate_vsyscall(struct pt_regs
*regs
, unsigned long address
);
16 static inline void map_vsyscall(void) {}
17 static inline bool emulate_vsyscall(struct pt_regs
*regs
, unsigned long address
)
23 #endif /* _ASM_X86_VSYSCALL_H */