Changeset 98000fb in mainline for kernel/arch/sparc64/src/mm/as.c


Ignore:
Timestamp:
2009-06-03T19:34:45Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

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

    r69e68e3 r98000fb  
    9090         * size.
    9191         */
    92         count_t cnt = ((ITSB_ENTRY_COUNT + DTSB_ENTRY_COUNT) *
     92        size_t cnt = ((ITSB_ENTRY_COUNT + DTSB_ENTRY_COUNT) *
    9393            sizeof(tsb_entry_t)) >> FRAME_WIDTH;
    9494        frame_free(KA2PA((uintptr_t) as->arch.itsb));
     
    102102{
    103103#ifdef CONFIG_TSB
    104         tsb_invalidate(as, 0, (count_t) -1);
     104        tsb_invalidate(as, 0, (size_t) -1);
    105105#endif
    106106        return 0;
Note: See TracChangeset for help on using the changeset viewer.