]> git.baikalelectronics.ru Git - kernel.git/commit
x86: vdso put vars in rodata
authorRoland McGrath <roland@redhat.com>
Wed, 17 Oct 2007 16:04:40 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:43 +0000 (20:16 +0200)
commitddad21d00fdcb8ffdc5ebd1755d835da6a21a516
tree20bb2db3d0de8c30317e242e09fce373de468b29
parent45909d8f1a7e2baf7da20cf174f5493d16b8d149
x86: vdso put vars in rodata

This adds a const to the definitions vvar.c makes, so that the vdso_*
variables go into .rodata instead of .data.  This is essentially a
cosmetic change, just giving the section headers in the vDSO file more
pleasing flags. These variables are read-only from the perspective of
the vDSO itself and user mode, even though the contents of the DSO image
were adjusted at boot.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/vdso/vvar.c