Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[deliverable/linux.git] / arch / x86 / include / asm / vsyscall.h
CommitLineData
1965aae3
PA
1#ifndef _ASM_X86_VSYSCALL_H
2#define _ASM_X86_VSYSCALL_H
1da177e4 3
75da736f 4#include <linux/seqlock.h>
af170c50 5#include <uapi/asm/vsyscall.h>
1da177e4 6
1ad83c85 7#ifdef CONFIG_X86_VSYSCALL_EMULATION
e4026440
IM
8extern void map_vsyscall(void);
9
3ae36655
AL
10/*
11 * Called on instruction fetch fault in vsyscall page.
12 * Returns true if handled.
13 */
14extern bool emulate_vsyscall(struct pt_regs *regs, unsigned long address);
1ad83c85
AL
15#else
16static inline void map_vsyscall(void) {}
17static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)
18{
19 return false;
20}
21#endif
3ae36655 22
1965aae3 23#endif /* _ASM_X86_VSYSCALL_H */
This page took 0.779146 seconds and 5 git commands to generate.