Re: [patch 10/15] Generic Mutex Subsystem, mutex-migration-helper-core.patch

Steven Rostedt
2005-12-19T14:13:26Z

On Mon, 2005-12-19 at 02:38 +0100, Ingo Molnar wrote:
> +#ifdef CONFIG_DEBUG_MUTEX_FULL
> +# define semaphore mutex_debug
> +# define DECLARE_MUTEX DEFINE_MUTEX_DEBUG
> +#else
> +# define DECLARE_MUTEX ARCH_DECLARE_MUTEX
> +#endif
> +
> +# define DECLARE_MUTEX_LOCKED ARCH_DECLARE_MUTEX_LOCKED
> +
> +#if 0

Probably not good to have #if 0 in release patches.

-- Steve

> +#ifdef CONFIG_GENERIC_MUTEXES
> +# include <linux/mutex.h>
> +#else
> +
> +#define DECLARE_MUTEX ARCH_DECLARE_MUTEX
> +#define DECLARE_MUTEX_LOCKED ARCH_DECLARE_MUTEX_LOCKED
> +