diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/sh/mm/fault_32.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/sh/mm/fault_32.c')
-rw-r--r-- | arch/sh/mm/fault_32.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/mm/fault_32.c b/arch/sh/mm/fault_32.c index 47530104e0ad..8bf79e3b7bdd 100644 --- a/arch/sh/mm/fault_32.c +++ b/arch/sh/mm/fault_32.c | |||
@@ -53,6 +53,9 @@ static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) | |||
53 | if (!pud_present(*pud_k)) | 53 | if (!pud_present(*pud_k)) |
54 | return NULL; | 54 | return NULL; |
55 | 55 | ||
56 | if (!pud_present(*pud)) | ||
57 | set_pud(pud, *pud_k); | ||
58 | |||
56 | pmd = pmd_offset(pud, address); | 59 | pmd = pmd_offset(pud, address); |
57 | pmd_k = pmd_offset(pud_k, address); | 60 | pmd_k = pmd_offset(pud_k, address); |
58 | if (!pmd_present(*pmd_k)) | 61 | if (!pmd_present(*pmd_k)) |
@@ -371,7 +374,7 @@ handle_tlbmiss(struct pt_regs *regs, unsigned long writeaccess, | |||
371 | local_flush_tlb_one(get_asid(), address & PAGE_MASK); | 374 | local_flush_tlb_one(get_asid(), address & PAGE_MASK); |
372 | #endif | 375 | #endif |
373 | 376 | ||
374 | update_mmu_cache(NULL, address, entry); | 377 | update_mmu_cache(NULL, address, pte); |
375 | 378 | ||
376 | return 0; | 379 | return 0; |
377 | } | 380 | } |