diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-04-19 16:29:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | 2005-04-19 16:29:23 -0400 |
commit | d455a3696c72283923e6870e9e4fe1daa861d7cd (patch) | |
tree | 572661a1ed6cceaf83cad55921b7812feace69ee /include/asm-sh/pgtable.h | |
parent | cdfb82fff33cf3b1a367a427e5d89a012dc568b1 (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-sh/pgtable.h')
-rw-r--r-- | include/asm-sh/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index 8a9689d5366f..cd847a47a9aa 100644 --- a/include/asm-sh/pgtable.h +++ b/include/asm-sh/pgtable.h | |||
@@ -44,7 +44,7 @@ extern unsigned long empty_zero_page[1024]; | |||
44 | #define PGDIR_MASK (~(PGDIR_SIZE-1)) | 44 | #define PGDIR_MASK (~(PGDIR_SIZE-1)) |
45 | 45 | ||
46 | #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) | 46 | #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) |
47 | #define FIRST_USER_PGD_NR 0 | 47 | #define FIRST_USER_ADDRESS 0 |
48 | 48 | ||
49 | #define PTE_PHYS_MASK 0x1ffff000 | 49 | #define PTE_PHYS_MASK 0x1ffff000 |
50 | 50 | ||