commit | 73ada3700bbb0a4c7cc06ea8d74e93c689f90cdb | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Fri Jul 10 12:55:45 2015 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Mon Jul 27 14:06:24 2015 +0200 |
tree | 7080670f15d0087e409b3ed4ac0ce24829c0d7e1 | |
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>