Changeset 98000fb in mainline for kernel/genarch/src/mm/page_ht.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/genarch/src/mm/page_ht.c

    r69e68e3 r98000fb  
    5252#include <align.h>
    5353
    54 static index_t hash(unative_t key[]);
    55 static bool compare(unative_t key[], count_t keys, link_t *item);
     54static size_t hash(unative_t key[]);
     55static bool compare(unative_t key[], size_t keys, link_t *item);
    5656static void remove_callback(link_t *item);
    5757
     
    9494 * @return Index into page hash table.
    9595 */
    96 index_t hash(unative_t key[])
     96size_t hash(unative_t key[])
    9797{
    9898        as_t *as = (as_t *) key[KEY_AS];
    9999        uintptr_t page = (uintptr_t) key[KEY_PAGE];
    100         index_t index;
     100        size_t index;
    101101       
    102102        /*
     
    125125 * @return true on match, false otherwise.
    126126 */
    127 bool compare(unative_t key[], count_t keys, link_t *item)
     127bool compare(unative_t key[], size_t keys, link_t *item)
    128128{
    129129        pte_t *t;
Note: See TracChangeset for help on using the changeset viewer.