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

Changeset 78de83de in mainline for kernel/generic/include/mm/as.h


Ignore:
Timestamp:
2018-09-07T15:41:29Z (4 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial
Children:
077842c
Parents:
508b0df1
Message:

Improve kernel spinlock and AS refcount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/as.h

    r508b0df1 r78de83de  
    4848#include <lib/elf.h>
    4949#include <arch.h>
     50#include <lib/refcount.h>
    5051
    5152#define AS                   THE->as
     
    111112
    112113        /** Number of references (i.e. tasks that reference this as). */
    113         atomic_t refcount;
     114        atomic_refcount_t refcount;
    114115
    115116        mutex_t lock;
Note: See TracChangeset for help on using the changeset viewer.