diff options
author | Andi Kleen <ak@suse.de> | 2008-07-24 00:27:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:18 -0400 |
commit | ceb868796181dc95ea01a110e123afd391639873 (patch) | |
tree | 991be618e5195b05c31974a19adb4b9602315013 /arch/powerpc/mm/hugetlbpage.c | |
parent | 4abd32dbab201c3ced0b0af12accea77cd9eeffc (diff) |
hugetlb: introduce pud_huge
Straight forward extensions for huge pages located in the PUD instead of
PMDs.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-rw-r--r-- | arch/powerpc/mm/hugetlbpage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index c94dc71af989..63db7adce717 100644 --- a/arch/powerpc/mm/hugetlbpage.c +++ b/arch/powerpc/mm/hugetlbpage.c | |||
@@ -369,6 +369,11 @@ int pmd_huge(pmd_t pmd) | |||
369 | return 0; | 369 | return 0; |
370 | } | 370 | } |
371 | 371 | ||
372 | int pud_huge(pud_t pud) | ||
373 | { | ||
374 | return 0; | ||
375 | } | ||
376 | |||
372 | struct page * | 377 | struct page * |
373 | follow_huge_pmd(struct mm_struct *mm, unsigned long address, | 378 | follow_huge_pmd(struct mm_struct *mm, unsigned long address, |
374 | pmd_t *pmd, int write) | 379 | pmd_t *pmd, int write) |