Re: x86: spinlocks: define dummy __raw_spin_is_contended

From: Ralf Baechle
Date: Sun Feb 08 2009 - 18:53:57 EST


On Sun, Feb 08, 2009 at 01:03:41PM -0500, Kyle McMartin wrote:

> From: Kyle McMartin <kyle@xxxxxxxxxx>
>
> Architectures other than mips and x86 are not using ticket
> spinlocks. Therefore, the contention on the lock is meaningless,
> since there is nobody known to be waiting on it (arguably /fairly/
> unfair locks) Dummy it out to return 0 on other architectures.
>
> Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxx>

Looks good.

Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

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