diff options
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 | ||