fault.c (3eb66e91a25497065c5322b1268cbc3953642227) fault.c (195568a10a264a733ec7151a657ab054a0af768f)
1/*
2 * Copyright (C) 2009 Wind River Systems Inc
3 * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
4 *
5 * based on arch/mips/mm/fault.c which is:
6 *
7 * Copyright (C) 1995-2000 Ralf Baechle
8 *

--- 257 unchanged lines hidden (view full) ---

266 if (!pmd_present(*pmd_k))
267 goto no_context;
268 set_pmd(pmd, *pmd_k);
269
270 pte_k = pte_offset_kernel(pmd_k, address);
271 if (!pte_present(*pte_k))
272 goto no_context;
273
1/*
2 * Copyright (C) 2009 Wind River Systems Inc
3 * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
4 *
5 * based on arch/mips/mm/fault.c which is:
6 *
7 * Copyright (C) 1995-2000 Ralf Baechle
8 *

--- 257 unchanged lines hidden (view full) ---

266 if (!pmd_present(*pmd_k))
267 goto no_context;
268 set_pmd(pmd, *pmd_k);
269
270 pte_k = pte_offset_kernel(pmd_k, address);
271 if (!pte_present(*pte_k))
272 goto no_context;
273
274 flush_tlb_one(address);
274 flush_tlb_kernel_page(address);
275 return;
276 }
277}
275 return;
276 }
277}