diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:39 -0500 |
commit | e4026440130b84101f2da7f5a0c7a3b046173d3c (patch) | |
tree | 8796a489ee4af076314fb6f993ef76d273fd7290 /include/asm-x86/vsyscall.h | |
parent | cdc7957d1954908a39a6964e9c6f643916e76c4b (diff) |
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.h | 2 |
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; | |||
36 | extern int vgetcpu_mode; | 36 | extern int vgetcpu_mode; |
37 | extern struct timezone sys_tz; | 37 | extern struct timezone sys_tz; |
38 | 38 | ||
39 | extern void map_vsyscall(void); | ||
40 | |||
39 | #endif /* __KERNEL__ */ | 41 | #endif /* __KERNEL__ */ |
40 | 42 | ||
41 | #endif /* _ASM_X86_64_VSYSCALL_H_ */ | 43 | #endif /* _ASM_X86_64_VSYSCALL_H_ */ |