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

From: Steven Rostedt
Date: Mon Dec 19 2005 - 09:12:26 EST


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
> +

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/