~helenos-nicf/helenos/nicf

« back to all changes in this revision

Viewing changes to kernel/arch/sparc64/src/mm/sun4v/tlb.c

  • Committer: Radim Vansa
  • Date: 2011-09-20 21:55:59 UTC
  • mfrom: (697.1.517 HelenOS.mainline)
  • Revision ID: radim.vansa@matfyz.cz-20110920215559-7fjpai6wt5ieurcq
Merge with mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        pte_t *t;
219
219
 
220
220
        page_table_lock(AS, true);
221
 
        t = page_mapping_find(AS, va);
 
221
        t = page_mapping_find(AS, va, true);
222
222
 
223
223
        if (t && PTE_EXECUTABLE(t)) {
224
224
                /*
274
274
        }
275
275
 
276
276
        page_table_lock(AS, true);
277
 
        t = page_mapping_find(AS, va);
 
277
        t = page_mapping_find(AS, va, true);
278
278
        if (t) {
279
279
                /*
280
280
                 * The mapping was found in the software page hash table.
316
316
        uint16_t ctx = DMISS_CONTEXT(page_and_ctx);
317
317
 
318
318
        page_table_lock(AS, true);
319
 
        t = page_mapping_find(AS, va);
 
319
        t = page_mapping_find(AS, va, true);
320
320
        if (t && PTE_WRITABLE(t)) {
321
321
                /*
322
322
                 * The mapping was found in the software page hash table and is