]> git.baikalelectronics.ru Git - kernel.git/commit
xen: disable vdso "nosegneg" on native boot
authorRoland McGrath <roland@redhat.com>
Fri, 20 Jul 2007 07:31:43 +0000 (00:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 15:44:19 +0000 (08:44 -0700)
commit0377d858a8760ec0861f423ebafa04359f812fdd
tree41521fcbce645a492c83e45b4b73be829a4cc8b1
parent2fbbcef727ed3f84f4eabb084d01e2ce9427e510
xen: disable vdso "nosegneg" on native boot

One of the nice ideas behind paravirt is that CONFIG_XEN=y can be included
in a standard configuration and be no worse for native booting than as a
Xen guest.  The glibc feature that supports the vDSO "nosegneg" note is
designed specifically to make this easy.  You just have to flip one bit at
boot time.  This patch makes Xen flip the bit, so a CONFIG_XEN=y kernel on
bare hardware does not make glibc use the less-optimized library builds.

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/boot/compressed/relocs.c
arch/i386/kernel/vsyscall-note.S
arch/i386/xen/setup.c
arch/i386/xen/vdso.h [new file with mode: 0644]