aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 07:32:39 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:39 -0500
commite4026440130b84101f2da7f5a0c7a3b046173d3c (patch)
tree8796a489ee4af076314fb6f993ef76d273fd7290 /arch/x86/kernel/setup_64.c
parentcdc7957d1954908a39a6964e9c6f643916e76c4b (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 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index bc7758ea06af..8618178db842 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -45,6 +45,7 @@
45#include <asm/mtrr.h> 45#include <asm/mtrr.h>
46#include <asm/uaccess.h> 46#include <asm/uaccess.h>
47#include <asm/system.h> 47#include <asm/system.h>
48#include <asm/vsyscall.h>
48#include <asm/io.h> 49#include <asm/io.h>
49#include <asm/smp.h> 50#include <asm/smp.h>
50#include <asm/msr.h> 51#include <asm/msr.h>
@@ -453,6 +454,7 @@ void __init setup_arch(char **cmdline_p)
453#endif 454#endif
454 reserve_crashkernel(); 455 reserve_crashkernel();
455 paging_init(); 456 paging_init();
457 map_vsyscall();
456 458
457 early_quirks(); 459 early_quirks();
458 460