Changeset 98000fb in mainline for kernel/generic/include/mm/slab.h


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/generic/include/mm/slab.h

    r69e68e3 r98000fb  
    7373typedef struct {
    7474        link_t link;
    75         count_t busy;  /**< Count of full slots in magazine */
    76         count_t size;  /**< Number of slots in magazine */
     75        size_t busy;  /**< Count of full slots in magazine */
     76        size_t size;  /**< Number of slots in magazine */
    7777        void *objs[];  /**< Slots in magazine */
    7878} slab_magazine_t;
     
    129129extern void * slab_alloc(slab_cache_t *, int);
    130130extern void slab_free(slab_cache_t *, void *);
    131 extern count_t slab_reclaim(int);
     131extern size_t slab_reclaim(int);
    132132
    133133/* slab subsytem initialization */
Note: See TracChangeset for help on using the changeset viewer.