[PATCH 3.16.y-ckt 109/185] locking,arch,arc: Fold atomic_ops

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit f7d11e93ee97a37da1947b7c4e1794705a6f360c upstream. Many of the atomic op implementations are the same except for one instruction; fold the lot into a few CPP

[PATCH 3.16.y-ckt 109/185] locking,arch,arc: Fold atomic_ops

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra pet...@infradead.org commit f7d11e93ee97a37da1947b7c4e1794705a6f360c upstream. Many of the atomic op implementations are the same except for one instruction; fold the