hugetlbpage.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | hugetlbpage.c (3ed3a4f0ddffece942bb2661924d87be4ce63cb7) |
---|---|
1/* 2 * arch/sh/mm/hugetlbpage.c 3 * 4 * SuperH HugeTLB page support. 5 * 6 * Cloned from sparc64 by Paul Mundt. 7 * 8 * Copyright (C) 2002, 2003 David S. Miller (davem@redhat.com) --- 21 unchanged lines hidden (view full) --- 30 pte_t *pte = NULL; 31 32 pgd = pgd_offset(mm, addr); 33 if (pgd) { 34 pud = pud_alloc(mm, pgd, addr); 35 if (pud) { 36 pmd = pmd_alloc(mm, pud, addr); 37 if (pmd) | 1/* 2 * arch/sh/mm/hugetlbpage.c 3 * 4 * SuperH HugeTLB page support. 5 * 6 * Cloned from sparc64 by Paul Mundt. 7 * 8 * Copyright (C) 2002, 2003 David S. Miller (davem@redhat.com) --- 21 unchanged lines hidden (view full) --- 30 pte_t *pte = NULL; 31 32 pgd = pgd_offset(mm, addr); 33 if (pgd) { 34 pud = pud_alloc(mm, pgd, addr); 35 if (pud) { 36 pmd = pmd_alloc(mm, pud, addr); 37 if (pmd) |
38 pte = pte_alloc_map(mm, NULL, pmd, addr); | 38 pte = pte_alloc_map(mm, pmd, addr); |
39 } 40 } 41 42 return pte; 43} 44 45pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) 46{ --- 27 unchanged lines hidden --- | 39 } 40 } 41 42 return pte; 43} 44 45pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) 46{ --- 27 unchanged lines hidden --- |