Changeset 679 for GPL/trunk/include/linux/rwsem.h
- Timestamp:
- Mar 18, 2021, 8:57:36 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-linux-3.2.102 (added) merged: 611-614 /GPL/branches/uniaud32-next (added) merged: 615-678
- Property svn:mergeinfo changed
-
GPL/trunk/include/linux/rwsem.h
r305 r679 4 4 #define _LINUX_RWSEM_H 5 5 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 17 static inline int down_write_trylock(struct rw_semaphore *sem) {return 0;} 6 18 #endif /* _LINUX_RWSEM_H */
Note:
See TracChangeset
for help on using the changeset viewer.