projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f205fd
)
[PATCH] paravirt: Disable vdso by default when CONFIG_PARAVIRT is enabled
author
Andi Kleen
<ak@suse.de>
Thu, 7 Dec 2006 01:14:08 +0000
(
02:14
+0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:08 +0000
(
02:14
+0100)
They don't work together and this way even glibc still works.
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/sysenter.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/sysenter.c
b/arch/i386/kernel/sysenter.c
index 713ba39d32c66db0e2ad4ca0580088ffccef785f..92849c7def5a7b061ebe409776ecc71c2875bdf8 100644
(file)
--- a/
arch/i386/kernel/sysenter.c
+++ b/
arch/i386/kernel/sysenter.c
@@
-27,7
+27,11
@@
* Should the kernel map a VDSO page into processes and pass its
* address down to glibc upon exec()?
*/
+#ifdef CONFIG_PARAVIRT
+unsigned int __read_mostly vdso_enabled = 0;
+#else
unsigned int __read_mostly vdso_enabled = 1;
+#endif
EXPORT_SYMBOL_GPL(vdso_enabled);