cregit-Linux how code gets into the kernel

Release 4.11 tools/include/linux/spinlock.h


#define spinlock_t		pthread_mutex_t

#define DEFINE_SPINLOCK(x)	pthread_mutex_t x = PTHREAD_MUTEX_INITIALIZER;


#define spin_lock_irqsave(x, f)		(void)f, pthread_mutex_lock(x)

#define spin_unlock_irqrestore(x, f)	(void)f, pthread_mutex_unlock(x)

Overall Contributors

PersonTokensPropCommitsCommitProp
Matthew Wilcox29100.00%1100.00%
Total29100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.