[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>
This commit is contained in:
committed by
Linus Torvalds
parent
cdfb82fff3
commit
d455a3696c
@@ -63,7 +63,7 @@ BTFIXUPDEF_INT(page_kernel)
|
||||
#define PTRS_PER_PMD BTFIXUP_SIMM13(ptrs_per_pmd)
|
||||
#define PTRS_PER_PGD BTFIXUP_SIMM13(ptrs_per_pgd)
|
||||
#define USER_PTRS_PER_PGD BTFIXUP_SIMM13(user_ptrs_per_pgd)
|
||||
#define FIRST_USER_PGD_NR 0
|
||||
#define FIRST_USER_ADDRESS 0
|
||||
#define PTE_SIZE (PTRS_PER_PTE*4)
|
||||
|
||||
#define PAGE_NONE __pgprot(BTFIXUP_INT(page_none))
|
||||
|
Reference in New Issue
Block a user