Re: [RFC PATCH v2 1/1] rename {before/after}_atomic_{inc/dec} to {before/after}_atomic

From: Peter Zijlstra
Date: Thu May 29 2014 - 02:43:12 EST


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@xxxxxxxxx>

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/