Changeset 498ced1 in mainline for uspace/srv/devman/devman.h


Ignore:
Timestamp:
2018-08-11T02:43:32Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05882233
Parents:
b13d80b
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-11 02:29:02)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-11 02:43:32)
Message:

Unify reference counting and remove some unnecessary instances of <atomic.h>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.h

    rb13d80b r498ced1  
    4141#include <ipc/loc.h>
    4242#include <fibril_synch.h>
    43 #include <atomic.h>
     43#include <refcount.h>
    4444#include <async.h>
    4545
     
    115115struct dev_node {
    116116        /** Reference count */
    117         atomic_t refcnt;
     117        atomic_refcount_t refcnt;
    118118
    119119        /** The global unique identifier of the device. */
     
    155155struct fun_node {
    156156        /** Reference count */
    157         atomic_t refcnt;
     157        atomic_refcount_t refcnt;
    158158        /** State */
    159159        fun_state_t state;
Note: See TracChangeset for help on using the changeset viewer.