lkml.org 
[lkml]   [2013]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MIPS atomic_set_mask and atomic_clear_mask
On Thu, Jan 31, 2013 at 11:43:21AM +0800, yili0568@gmail.com wrote:

> Hello, everybody:
> Does MIPS need the functions atomic_set_mask and atomic_clear_mask?
> Or how can I implement these functions.

No, it doesn't need them. a quick grep would have shown that all users
are either other architectures or architecture-specific code.

As for a possible implementation, there are plenty of examples in
<asm/bitops.h> and <asm/atomic.h> that would need only minor modification.

Ralf


\
 
 \ /
  Last update: 2013-01-31 12:21    [W:0.039 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site