[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips
Subject:    Re: MIPS atomic_set_mask and atomic_clear_mask
From:       Ralf Baechle <ralf () linux-mips ! org>
Date:       2013-01-31 10:26:53
Message-ID: 20130131102653.GA17834 () linux-mips ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic