Re: [RFC][PATCH 19/24] s390: Provide atomic_{or,xor,and}
From: Heiko Carstens <hidden>
Date: 2015-07-10 10:52:13
Also in:
lkml
From: Heiko Carstens <hidden>
Date: 2015-07-10 10:52:13
Also in:
lkml
On Fri, Jul 10, 2015 at 12:22:10PM +0200, Peter Zijlstra wrote:
On Fri, Jul 10, 2015 at 09:17:09AM +0200, Heiko Carstens wrote:quoted
quoted
+static inline __deprecated void atomic_set_mask(unsigned int mask, atomic_t *v) { - __ATOMIC_LOOP(v, mask, __ATOMIC_OR, __ATOMIC_NO_BARRIER); + atomic_or(mask, v); }If you insist on the __deprecated (no problem with that), I'd like to apply your patch to the s390 tree so I can convert all users. I would like to avoid to see tons of warnings.See the last patch in this series, it does that conversion. Although I might need to double check I got them all, its been a while since I did that patch.
Ah right, I missed that. Then I'm happy with all the changes. Thanks for doing this nice cleanup!