aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/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-s390/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-s390/pgtable.h')
-rw-r--r--include/asm-s390/pgtable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h
index 1633cb75f057..df94f89038cc 100644
--- a/include/asm-s390/pgtable.h
+++ b/include/asm-s390/pgtable.h
@@ -95,14 +95,14 @@ extern char empty_zero_page[PAGE_SIZE];
95# define USER_PTRS_PER_PGD 512 95# define USER_PTRS_PER_PGD 512
96# define USER_PGD_PTRS 512 96# define USER_PGD_PTRS 512
97# define KERNEL_PGD_PTRS 512 97# define KERNEL_PGD_PTRS 512
98# define FIRST_USER_PGD_NR 0
99#else /* __s390x__ */ 98#else /* __s390x__ */
100# define USER_PTRS_PER_PGD 2048 99# define USER_PTRS_PER_PGD 2048
101# define USER_PGD_PTRS 2048 100# define USER_PGD_PTRS 2048
102# define KERNEL_PGD_PTRS 2048 101# define KERNEL_PGD_PTRS 2048
103# define FIRST_USER_PGD_NR 0
104#endif /* __s390x__ */ 102#endif /* __s390x__ */
105 103
104#define FIRST_USER_ADDRESS 0
105
106#define pte_ERROR(e) \ 106#define pte_ERROR(e) \
107 printk("%s:%d: bad pte %p.\n", __FILE__, __LINE__, (void *) pte_val(e)) 107 printk("%s:%d: bad pte %p.\n", __FILE__, __LINE__, (void *) pte_val(e))
108#define pmd_ERROR(e) \ 108#define pmd_ERROR(e) \