diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2005-01-02 01:51:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-02 01:51:04 -0800 |
commit | 0a299616d4b14ec5b72ec3965ea38f0460e7940c (patch) | |
tree | 01d6e2393ab7aefbd6ce1a7225a22460e45f05b4 /mm | |
parent | e4339c8206135ce03cfcc86e571a51567ff33039 (diff) | |
download | history-0a299616d4b14ec5b72ec3965ea38f0460e7940c.tar.gz |
[PATCH] ia64 4-level pgtable fix
Fix a 4-level page table bug that slipped through (introduced by me,
not Andi).
Compiles and boots on ia64 and 2-level i386.
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index 281a7bdd3dd49b..d270caaf411957 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1941,7 +1941,7 @@ int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct * vma, } #ifndef __ARCH_HAS_4LEVEL_HACK -#if (PTRS_PER_PGD > 1) +#if (PTRS_PER_PUD > 1) /* * Allocate page upper directory. * @@ -1975,7 +1975,7 @@ out: } #endif -#if (PTRS_PER_PUD > 1) +#if (PTRS_PER_PMD > 1) /* * Allocate page middle directory. * |