Changes in kernel/generic/src/mm/km.c [96d9cdd:492ddc9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/km.c
r96d9cdd r492ddc9 151 151 { 152 152 uintptr_t offs; 153 size_t align; 153 154 ipl_t ipl; 154 155 … … 169 170 page_table_unlock(AS_KERNEL, true); 170 171 171 km_page_free(vaddr, size); 172 /* 173 * Match the size parameter with that of km_page_alloc() in 174 * km_map_aligned(). 175 */ 176 align = ispwr2(size) ? size : (1U << (fnzb(size) + 1)); 177 km_page_free(vaddr, max(PAGE_SIZE, align)); 172 178 } 173 179
Note:
See TracChangeset
for help on using the changeset viewer.