lkml.org 
[lkml]   [2009]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: spinlocks: define dummy __raw_spin_is_contended
On Sun, Feb 08, 2009 at 01:03:41PM -0500, Kyle McMartin wrote:

> From: Kyle McMartin <kyle@redhat.com>
>
> 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@redhat.com>

Looks good.

Acked-by: Ralf Baechle <ralf@linux-mips.org>

Ralf


\
 
 \ /
  Last update: 2009-02-09 00:57    [W:0.044 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site