* MIPS atomic_set_mask and atomic_clear_mask
@ 2013-01-31 3:43 yili0568
2013-01-31 10:26 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: yili0568 @ 2013-01-31 3:43 UTC (permalink / raw)
To: linux-mips; +Cc: linux-kernel
Hello, everybody:
Does MIPS need the functions atomic_set_mask and atomic_clear_mask?
Or how can I implement these functions.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MIPS atomic_set_mask and atomic_clear_mask
2013-01-31 3:43 MIPS atomic_set_mask and atomic_clear_mask yili0568
@ 2013-01-31 10:26 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2013-01-31 10:26 UTC (permalink / raw)
To: linux-mips, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-31 10:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 3:43 MIPS atomic_set_mask and atomic_clear_mask yili0568
2013-01-31 10:26 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox