Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rabf6c01 r88e43bc  
    199199task_t *task_create(as_t *as, const char *name)
    200200{
    201         task_t *task = (task_t *) slab_alloc(task_cache, FRAME_ATOMIC);
    202         if (!task)
     201        task_t *task = (task_t *) slab_alloc(task_cache, 0);
     202        if (task == NULL) {
    203203                return NULL;
     204        }
    204205
    205206        task_create_arch(task);
Note: See TracChangeset for help on using the changeset viewer.