Re: [PATCH] use spinlock instead of binary mutex in CDU-31A driver

From: Andi Kleen
Date: Sun Apr 22 2007 - 18:28:32 EST


Matthias Kaehlcke <matthias.kaehlcke@xxxxxxxxx> writes:

> -static DECLARE_MUTEX(sony_sem); /* Semaphore for drive hardware access */
> +static DEFINE_MUTEX(sony_mtx); /* Mutex for drive hardware access */

That's not a spinlock. Also normally some rationale is added to the
description for a change?

-Andi
-
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/