summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/mem.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 10:44:18 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 19:51:23 +0100
commit6bf79482f3288e19697d08c456b0bd6b1755d467 (patch)
treead7c1f9a18e5738175d2d8daeb65e099b6a50b02 /arch/um/kernel/mem.c
parent[PATCH] uml: locking fixes in the ubd driver (diff)
downloadlinux-6bf79482f3288e19697d08c456b0bd6b1755d467.tar.xz
linux-6bf79482f3288e19697d08c456b0bd6b1755d467.zip
[PATCH] uml: locking comments in memory and tempfile code
Locking comments and emacs comment removal in the low-level memory and temp file code. 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>
Diffstat (limited to 'arch/um/kernel/mem.c')
-rw-r--r--arch/um/kernel/mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index d1480ff0f2a6..e85d65deea0d 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel/mem.c
@@ -24,8 +24,9 @@
#include "init.h"
#include "kern_constants.h"
-/* Changed during early boot */
+/* allocated in paging_init, zeroed in mem_init, and unchanged thereafter */
unsigned long *empty_zero_page = NULL;
+/* allocated in paging_init and unchanged thereafter */
unsigned long *empty_bad_page = NULL;
pgd_t swapper_pg_dir[PTRS_PER_PGD];
unsigned long long highmem;