diff options
author | Andi Kleen <ak@suse.de> | 2006-12-06 20:14:08 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:08 -0500 |
commit | 3bbf54725467d604698721384d858b5983b87e8f (patch) | |
tree | 1e30b98d550ca921ec40eb4b08481d9ffb97ba1f /arch | |
parent | 4f205fd45a5c192907188d6f8f6d7e66db859248 (diff) |
[PATCH] paravirt: Disable vdso by default when CONFIG_PARAVIRT is enabled
They don't work together and this way even glibc still works.
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/sysenter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/kernel/sysenter.c b/arch/i386/kernel/sysenter.c index 713ba39d32c6..92849c7def5a 100644 --- a/arch/i386/kernel/sysenter.c +++ b/arch/i386/kernel/sysenter.c | |||
@@ -27,7 +27,11 @@ | |||
27 | * Should the kernel map a VDSO page into processes and pass its | 27 | * Should the kernel map a VDSO page into processes and pass its |
28 | * address down to glibc upon exec()? | 28 | * address down to glibc upon exec()? |
29 | */ | 29 | */ |
30 | #ifdef CONFIG_PARAVIRT | ||
31 | unsigned int __read_mostly vdso_enabled = 0; | ||
32 | #else | ||
30 | unsigned int __read_mostly vdso_enabled = 1; | 33 | unsigned int __read_mostly vdso_enabled = 1; |
34 | #endif | ||
31 | 35 | ||
32 | EXPORT_SYMBOL_GPL(vdso_enabled); | 36 | EXPORT_SYMBOL_GPL(vdso_enabled); |
33 | 37 | ||