Re: [PATCH 4/4] MCS Lock: Make mcs_spinlock.h includable in other files

2013-11-05 Thread Peter Zijlstra
On Mon, Nov 04, 2013 at 03:37:13PM -0800, Tim Chen wrote: > +EXPORT_SYMBOL(mcs_spin_lock); If that can be a GPL, please make it so. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 4/4] MCS Lock: Make mcs_spinlock.h includable in other files

2013-11-05 Thread Peter Zijlstra
On Mon, Nov 04, 2013 at 03:37:13PM -0800, Tim Chen wrote: +EXPORT_SYMBOL(mcs_spin_lock); If that can be a GPL, please make it so. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 4/4] MCS Lock: Make mcs_spinlock.h includable in other files

2013-11-04 Thread Tim Chen
The following changes are made to enable mcs_spinlock.h file to be widely included in other files without causing problem: 1) Include a number of prerequisite header files and define arch_mutex_cpu_relax(), if not previously defined. 2) Separate out mcs_spin_lock() into a mcs_spinlock.c file.

[PATCH 4/4] MCS Lock: Make mcs_spinlock.h includable in other files

2013-11-04 Thread Tim Chen
The following changes are made to enable mcs_spinlock.h file to be widely included in other files without causing problem: 1) Include a number of prerequisite header files and define arch_mutex_cpu_relax(), if not previously defined. 2) Separate out mcs_spin_lock() into a mcs_spinlock.c file.