Re: [PATCH 02/11] sgi-xp: Use lockdep_assert_held

From: Robin Holt
Date: Fri Mar 16 2012 - 15:11:28 EST


On Fri, Mar 16, 2012 at 12:00:55PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> !spin_is_locked() is always true on a up build, so cannot
> be used for assert. Replace with lockdep_assert_held.
>
> I realize UP builds are not very likely for this driver,
> but it's still better to fix it.

Acked-by: Robin Holt <holt@xxxxxxx>
--
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/