Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes in / [6454db5e:b294126] in mainline


Ignore:
Location:
kernel/generic/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    r6454db5e rb294126  
    141141        if (!AS_KERNEL)
    142142                panic("Cannot create kernel address space.");
    143 
    144         /*
    145          * Make sure the kernel address space
    146          * reference count never drops to zero.
    147          */
    148         as_hold(AS_KERNEL);
    149143}
    150144
  • kernel/generic/src/proc/task.c

    r6454db5e rb294126  
    254254        futex_task_init(task);
    255255
    256         /*
    257          * Get a reference to the address space.
    258          */
    259         as_hold(task->as);
    260 
    261256        irq_spinlock_lock(&tasks_lock, true);
    262257
Note: See TracChangeset for help on using the changeset viewer.