diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-07-10 12:55:45 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-27 14:06:24 +0200 |
commit | 73ada3700bbb0a4c7cc06ea8d74e93c689f90cdb (patch) | |
tree | 7080670f15d0087e409b3ed4ac0ce24829c0d7e1 /samples | |
parent | b0d8003ef405c4148b703cdaab1171045c6c3bbd (diff) |
h8300: Provide atomic_{or,xor,and}
Implement atomic logic ops -- atomic_{or,xor,and}
These will replace the atomic_{set,clear}_mask functions that are
available on some archs.
Also rework the atomic implementation in terms of CPP macros to avoid
the typical repetition -- I seem to have missed this arch the last
time around when I did that.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions