Ignore:
Timestamp:
Mar 18, 2021, 8:57:36 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from Paul's uniaud32next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/include/linux/rwsem.h

    r305 r679  
    44#define _LINUX_RWSEM_H
    55
     6#include <linux/err.h>
     7
     8/* rw_semaphore - replaced with mutex */
     9#define rw_semaphore semaphore
     10#define init_rwsem(x) init_MUTEX(x)
     11#define DECLARE_RWSEM(x) DECLARE_MUTEX(x)
     12#define down_read(x) down(x)
     13#define down_write(x) down(x)
     14#define up_read(x) up(x)
     15#define up_write(x) up(x)
     16
     17static inline int down_write_trylock(struct rw_semaphore *sem) {return 0;}
    618#endif /* _LINUX_RWSEM_H */
Note: See TracChangeset for help on using the changeset viewer.