Changes in kernel/arch/amd64/src/proc/task.c [c5396c1:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/proc/task.c
rc5396c1 r9d58539 34 34 35 35 #include <proc/task.h> 36 #include <mm/slab.h> 36 37 #include <typedefs.h> 37 #include <adt/bitmap.h>38 #include <mm/slab.h>39 38 40 39 /** Perform amd64 specific task initialization. … … 46 45 { 47 46 task->arch.iomapver = 0; 48 bitmap_initialize(&task->arch.iomap, 0, NULL);47 bitmap_initialize(&task->arch.iomap, NULL, 0); 49 48 } 50 49 … … 56 55 void task_destroy_arch(task_t *task) 57 56 { 58 if (task->arch.iomap. bits != NULL)59 free(task->arch.iomap. bits);57 if (task->arch.iomap.map) 58 free(task->arch.iomap.map); 60 59 } 61 60
Note:
See TracChangeset
for help on using the changeset viewer.