Ignore:
Timestamp:
Jan 3, 2021, 7:20:20 AM (5 years ago)
Author:
Paul Smedley
Message:

Code cleanups to simplify future maintenance, update regmap/regcache/rbtree to linux 4.19.163 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/mutex.h

    r615 r625  
    33
    44#include <asm/semaphore.h>
     5#include <linux/list.h>
     6
     7struct mutex {
     8        atomic_long_t           owner;
     9        spinlock_t              wait_lock;
     10#ifdef CONFIG_MUTEX_SPIN_ON_OWNER
     11        struct optimistic_spin_queue osq; /* Spinner MCS lock */
     12#endif
     13        struct list_head        wait_list;
     14#ifdef CONFIG_DEBUG_MUTEXES
     15        void                    *magic;
     16#endif
     17#ifdef CONFIG_DEBUG_LOCK_ALLOC
     18        struct lockdep_map      dep_map;
     19#endif
     20};
    521
    622#define mutex semaphore
Note: See TracChangeset for help on using the changeset viewer.