Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/proc/task.c

    rc5396c1 r9d58539  
    3434
    3535#include <proc/task.h>
     36#include <mm/slab.h>
    3637#include <typedefs.h>
    37 #include <adt/bitmap.h>
    38 #include <mm/slab.h>
    3938
    4039/** Perform amd64 specific task initialization.
     
    4645{
    4746        task->arch.iomapver = 0;
    48         bitmap_initialize(&task->arch.iomap, 0, NULL);
     47        bitmap_initialize(&task->arch.iomap, NULL, 0);
    4948}
    5049
     
    5655void task_destroy_arch(task_t *task)
    5756{
    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);
    6059}
    6160
Note: See TracChangeset for help on using the changeset viewer.