aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/pgtable.h
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2005-04-19 16:29:23 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 16:29:23 -0400
commitd455a3696c72283923e6870e9e4fe1daa861d7cd (patch)
tree572661a1ed6cceaf83cad55921b7812feace69ee /include/asm-x86_64/pgtable.h
parentcdfb82fff33cf3b1a367a427e5d89a012dc568b1 (diff)
[PATCH] freepgt: arch FIRST_USER_ADDRESS 0
Replace misleading definition of FIRST_USER_PGD_NR 0 by definition of FIRST_USER_ADDRESS 0 in all the MMU architectures beyond arm and arm26. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/pgtable.h')
-rw-r--r--include/asm-x86_64/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/pgtable.h b/include/asm-x86_64/pgtable.h
index dc6b6f2604e8..db2a0efbf573 100644
--- a/include/asm-x86_64/pgtable.h
+++ b/include/asm-x86_64/pgtable.h
@@ -114,7 +114,7 @@ extern inline void pgd_clear (pgd_t * pgd)
114#define PGDIR_MASK (~(PGDIR_SIZE-1)) 114#define PGDIR_MASK (~(PGDIR_SIZE-1))
115 115
116#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) 116#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
117#define FIRST_USER_PGD_NR 0 117#define FIRST_USER_ADDRESS 0
118 118
119#ifndef __ASSEMBLY__ 119#ifndef __ASSEMBLY__
120#define MAXMEM 0x3fffffffffffUL 120#define MAXMEM 0x3fffffffffffUL