diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-04-19 13:29:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | 2005-04-19 13:29:23 -0700 |
commit | d455a3696c72283923e6870e9e4fe1daa861d7cd (patch) | |
tree | 572661a1ed6cceaf83cad55921b7812feace69ee /include/asm-mips | |
parent | cdfb82fff33cf3b1a367a427e5d89a012dc568b1 (diff) | |
download | op-kernel-dev-d455a3696c72283923e6870e9e4fe1daa861d7cd.zip op-kernel-dev-d455a3696c72283923e6870e9e4fe1daa861d7cd.tar.gz |
[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-mips')
-rw-r--r-- | include/asm-mips/pgtable-32.h | 2 | ||||
-rw-r--r-- | include/asm-mips/pgtable-64.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/pgtable-32.h b/include/asm-mips/pgtable-32.h index 41a0df7..7fec93b 100644 --- a/include/asm-mips/pgtable-32.h +++ b/include/asm-mips/pgtable-32.h @@ -74,7 +74,7 @@ extern int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1, #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) -#define FIRST_USER_PGD_NR 0 +#define FIRST_USER_ADDRESS 0 #define VMALLOC_START KSEG2 diff --git a/include/asm-mips/pgtable-64.h b/include/asm-mips/pgtable-64.h index 704b551..1011e06 100644 --- a/include/asm-mips/pgtable-64.h +++ b/include/asm-mips/pgtable-64.h @@ -89,7 +89,7 @@ #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) -#define FIRST_USER_PGD_NR 0 +#define FIRST_USER_ADDRESS 0 #define VMALLOC_START XKSEG #define VMALLOC_END \ |