Messages in this thread | | | Date | Thu, 29 May 2014 08:43:02 +0200 | From | Peter Zijlstra <> | Subject | Re: [RFC PATCH v2 1/1] rename {before/after}_atomic_{inc/dec} to {before/after}_atomic |
| |
On Thu, May 29, 2014 at 12:28:10AM -0400, Pranith Kumar wrote: > There is no reason to have separete barriers for atomic_inc and atomic_dec. > All the architectures use the same barriers for both. > > We can simplify it and just have {before/after}_atomic after renaming. > > I used coccinelle script to do the renames in the C files and did the rename by hand in the headers. > > v2: > * remove duplicate macros in missed files > * correct indentation > > Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
See http://marc.info/?l=linux-kernel&m=139782635207358 and the 20 or so patches afterwards.
This has already been done. See a -next tree or so near you.
| |