lkml.org 
[lkml]   [2014]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2014-05-29 09:41    [W:0.068 / U:1.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site