Changeset 6c441cf8 in mainline for kernel/arch/mips32/src/mm/tlb.c


Ignore:
Timestamp:
2008-02-27T11:49:17Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
56976a17
Parents:
fdb7795
Message:

code cleanup (mostly signed/unsigned)
allow extra compiler warnings

File:
1 edited

Legend:

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

    rfdb7795 r6c441cf8  
    573573void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
    574574{
    575         int i;
     575        unsigned int i;
    576576        ipl_t ipl;
    577577        entry_lo_t lo0, lo1;
     
    584584        ipl = interrupts_disable();
    585585
    586         for (i = 0; i < cnt+1; i+=2) {
     586        for (i = 0; i < cnt + 1; i += 2) {
    587587                hi.value = 0;
    588588                prepare_entry_hi(&hi, asid, page + i * PAGE_SIZE);
Note: See TracChangeset for help on using the changeset viewer.