Commit:     06f99ac87ef3f1f706cd1eb794b16dfbfe60ee29
Parent:     bc3c6058bc8f9845ae73f6dc727570778f103858
Author:     Roland McGrath <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 17 18:04:40 2007 +0200
Committer:  Thomas Gleixner <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 20:16:43 2007 +0200

    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 <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
 arch/x86/vdso/vvar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/vdso/vvar.c b/arch/x86/vdso/vvar.c
index 6fc2221..1b7e703 100644
--- a/arch/x86/vdso/vvar.c
+++ b/arch/x86/vdso/vvar.c
@@ -8,5 +8,5 @@
 #include <asm/timex.h>
 #include <asm/vgtod.h>
-#define VEXTERN(x) typeof (__ ## x) *vdso_ ## x = (void *)VMAGIC;
+#define VEXTERN(x) typeof (__ ## x) *const vdso_ ## x = (void *)VMAGIC;
 #include "vextern.h"
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to