Changes in kernel/generic/src/mm/as.c [c81132d:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
rc81132d r63e27ef 90 90 * 91 91 */ 92 static slab_cache_t *as_ cache;92 static slab_cache_t *as_slab; 93 93 94 94 /** ASID subsystem lock. … … 131 131 as_arch_init(); 132 132 133 as_ cache= slab_cache_create("as_t", sizeof(as_t), 0,133 as_slab = 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_ cache, 0);155 as_t *as = (as_t *) slab_alloc(as_slab, 0); 156 156 (void) as_create_arch(as, 0); 157 157 … … 254 254 #endif 255 255 256 slab_free(as_ cache, as);256 slab_free(as_slab, as); 257 257 } 258 258 … … 833 833 btree_node_t, leaf_link); 834 834 835 if ((cond = ( node->keys != 0))) {835 if ((cond = (bool) node->keys)) { 836 836 uintptr_t ptr = node->key[node->keys - 1]; 837 837 size_t node_size =
Note:
See TracChangeset
for help on using the changeset viewer.