Changeset 96368f56 in mainline for kernel/generic/include/cap/cap.h


Ignore:
Timestamp:
2025-01-16T13:33:58Z (13 days ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
fa3ed5b
Parents:
e0e2264
Message:

Use <lib/refcount.h> for kobject reference counting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/cap/cap.h

    re0e2264 r96368f56  
    3737
    3838#include <abi/cap.h>
     39#include <adt/hash_table.h>
     40#include <adt/hash.h>
     41#include <adt/list.h>
     42#include <atomic.h>
     43#include <lib/ra.h>
     44#include <lib/refcount.h>
     45#include <synch/mutex.h>
    3946#include <typedefs.h>
    40 #include <adt/list.h>
    41 #include <adt/hash.h>
    42 #include <adt/hash_table.h>
    43 #include <lib/ra.h>
    44 #include <synch/mutex.h>
    45 #include <atomic.h>
    4647
    4748typedef enum {
     
    8081typedef struct kobject {
    8182        kobject_type_t type;
    82         atomic_size_t refcnt;
     83        atomic_refcount_t refcnt;
    8384
    8485        /** Mutex protecting caps_list */
Note: See TracChangeset for help on using the changeset viewer.