Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7254df6 in mainline


Ignore:
Timestamp:
2016-01-03T20:07:23Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
e08162b
Parents:
5fdad22
Message:

sun4v: Fix tlb_invalidate_pages() to invalidate all pages in the range

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4v/tlb.c

    r5fdad22 r7254df6  
    383383
    384384        for (i = 0; i < cnt; i++) {
    385                 __hypercall_fast5(MMU_DEMAP_PAGE, 0, 0, page, asid,
    386                         MMU_FLAG_DTLB | MMU_FLAG_ITLB);
     385                __hypercall_fast5(MMU_DEMAP_PAGE, 0, 0, page + i * PAGE_SIZE,
     386                    asid, MMU_FLAG_DTLB | MMU_FLAG_ITLB);
    387387        }
    388388
Note: See TracChangeset for help on using the changeset viewer.