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-um | |
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-um')
-rw-r--r-- | include/asm-um/pgtable-2level.h | 2 | ||||
-rw-r--r-- | include/asm-um/pgtable-3level.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-um/pgtable-2level.h b/include/asm-um/pgtable-2level.h index 61eb24734247..9b3abc01d60e 100644 --- a/include/asm-um/pgtable-2level.h +++ b/include/asm-um/pgtable-2level.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #define PTRS_PER_PTE 1024 | 23 | #define PTRS_PER_PTE 1024 |
24 | #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) | 24 | #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) |
25 | #define PTRS_PER_PGD 1024 | 25 | #define PTRS_PER_PGD 1024 |
26 | #define FIRST_USER_PGD_NR 0 | 26 | #define FIRST_USER_ADDRESS 0 |
27 | 27 | ||
28 | #define pte_ERROR(e) \ | 28 | #define pte_ERROR(e) \ |
29 | printk("%s:%d: bad pte %p(%08lx).\n", __FILE__, __LINE__, &(e), \ | 29 | printk("%s:%d: bad pte %p(%08lx).\n", __FILE__, __LINE__, &(e), \ |
diff --git a/include/asm-um/pgtable-3level.h b/include/asm-um/pgtable-3level.h index faf051c2c418..bdbc3f97e20b 100644 --- a/include/asm-um/pgtable-3level.h +++ b/include/asm-um/pgtable-3level.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #define PTRS_PER_PMD 512 | 31 | #define PTRS_PER_PMD 512 |
32 | #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) | 32 | #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) |
33 | #define PTRS_PER_PGD 512 | 33 | #define PTRS_PER_PGD 512 |
34 | #define FIRST_USER_PGD_NR 0 | 34 | #define FIRST_USER_ADDRESS 0 |
35 | 35 | ||
36 | #define pte_ERROR(e) \ | 36 | #define pte_ERROR(e) \ |
37 | printk("%s:%d: bad pte %p(%016lx).\n", __FILE__, __LINE__, &(e), \ | 37 | printk("%s:%d: bad pte %p(%016lx).\n", __FILE__, __LINE__, &(e), \ |