Changeset 82d515e9 in mainline for kernel/generic/src/mm/as.c
- Timestamp:
- 2017-12-05T11:30:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9af1c61
- Parents:
- 9a09212
- git-author:
- Jakub Jermar <jakub@…> (2017-12-05 11:25:41)
- git-committer:
- Jakub Jermar <jakub@…> (2017-12-05 11:30:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r9a09212 r82d515e9 90 90 * 91 91 */ 92 static slab_cache_t *as_ slab;92 static slab_cache_t *as_cache; 93 93 94 94 /** ASID subsystem lock. … … 131 131 as_arch_init(); 132 132 133 as_ slab= slab_cache_create("as_t", sizeof(as_t), 0,133 as_cache = slab_cache_create("as_t", sizeof(as_t), 0, 134 134 as_constructor, as_destructor, SLAB_CACHE_MAGDEFERRED); 135 135 … … 153 153 as_t *as_create(unsigned int flags) 154 154 { 155 as_t *as = (as_t *) slab_alloc(as_ slab, 0);155 as_t *as = (as_t *) slab_alloc(as_cache, 0); 156 156 (void) as_create_arch(as, 0); 157 157 … … 254 254 #endif 255 255 256 slab_free(as_ slab, as);256 slab_free(as_cache, as); 257 257 } 258 258
Note:
See TracChangeset
for help on using the changeset viewer.