thermal: fix Mediatek thermal controller build
[linux/fpc-iii.git] / arch / x86 / include / asm / vsyscall.h
blob6ba66ee79710ffdc19806994df22375859b95736
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);
15 #else
16 static inline void map_vsyscall(void) {}
17 static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)
19 return false;
21 #endif
23 #endif /* _ASM_X86_VSYSCALL_H */