summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 01:44:26 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:24 -0800
commitc538b391a7e8f3cb5d7756ec68d1864429d26a0c (patch)
tree553ec7fd598a72aa3f7bba80da5e692f556d7175
parentde5fe76e436d9e98f8af8005ff23a2e6066aea10 (diff)
downloadlinux-stable-c538b391a7e8f3cb5d7756ec68d1864429d26a0c.tar.gz
linux-stable-c538b391a7e8f3cb5d7756ec68d1864429d26a0c.tar.bz2
linux-stable-c538b391a7e8f3cb5d7756ec68d1864429d26a0c.zip
[PATCH] uml: ELF locking commentary
Comment the lack of locking of the elf data extracted from the ELF headers passed to UML. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/um/os-Linux/elf_aux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/os-Linux/elf_aux.c b/arch/um/os-Linux/elf_aux.c
index 5a99dd3fbed0..3a8d7e3aae0a 100644
--- a/arch/um/os-Linux/elf_aux.c
+++ b/arch/um/os-Linux/elf_aux.c
@@ -21,12 +21,11 @@ typedef Elf32_auxv_t elf_auxv_t;
typedef Elf64_auxv_t elf_auxv_t;
#endif
+/* These are initialized very early in boot and never changed */
char * elf_aux_platform;
long elf_aux_hwcap;
-
unsigned long vsyscall_ehdr;
unsigned long vsyscall_end;
-
unsigned long __kernel_vsyscall;
__init void scan_elf_aux( char **envp)