summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/vsyscall.h
blob: 34f7d8857542c7653865fffb97f6ee00e38753bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _ASM_X86_VSYSCALL_H
#define _ASM_X86_VSYSCALL_H

#include <linux/seqlock.h>
#include <uapi/asm/vsyscall.h>

extern void map_vsyscall(void);

/*
 * Called on instruction fetch fault in vsyscall page.
 * Returns true if handled.
 */
extern bool emulate_vsyscall(struct pt_regs *regs, unsigned long address);

#endif /* _ASM_X86_VSYSCALL_H */