summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/vsyscall.h
diff options
context:
space:
mode:
authorIngo Molnar2008-01-30 13:32:39 +0100
committerIngo Molnar2008-01-30 13:32:39 +0100
commite4026440130b84101f2da7f5a0c7a3b046173d3c (patch)
tree8796a489ee4af076314fb6f993ef76d273fd7290 /include/asm-x86/vsyscall.h
parentx86: move native_read_tsc() offline (diff)
downloadkernel-qcow2-linux-e4026440130b84101f2da7f5a0c7a3b046173d3c.tar.gz
kernel-qcow2-linux-e4026440130b84101f2da7f5a0c7a3b046173d3c.tar.xz
kernel-qcow2-linux-e4026440130b84101f2da7f5a0c7a3b046173d3c.zip
x86: map vsyscalls early enough
map vsyscalls early enough. This is important if a __vsyscall_fn function is used by other kernel code too. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/vsyscall.h')
-rw-r--r--include/asm-x86/vsyscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/vsyscall.h b/include/asm-x86/vsyscall.h
index f01c49f5d108..17b3700949bf 100644
--- a/include/asm-x86/vsyscall.h
+++ b/include/asm-x86/vsyscall.h
@@ -36,6 +36,8 @@ extern volatile unsigned long __jiffies;
extern int vgetcpu_mode;
extern struct timezone sys_tz;
+extern void map_vsyscall(void);
+
#endif /* __KERNEL__ */
#endif /* _ASM_X86_64_VSYSCALL_H_ */