20 lines · 357 B · C
RawDownload
#ifdef CONFIG_RWSEM_SPIN_ON_OWNERstatic inline void rwsem_set_owner(struct rw_semaphore *sem){	sem->owner = current;} static inline void rwsem_clear_owner(struct rw_semaphore *sem){	sem->owner = NULL;} #elsestatic inline void rwsem_set_owner(struct rw_semaphore *sem){} static inline void rwsem_clear_owner(struct rw_semaphore *sem){}#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t