On Thu, May 08, 2014 at 02:58:44PM +0100, Peter Zijlstra wrote:
> Many of the atomic op implementations are the same except for one
> instruction; fold the lot into a few CPP macros and reduce LoC.
> 
> This also prepares for easy addition of new ops.
> 
> Requires the asm_op because of eor.
> 
> Cc: Albin Tonnerre <[email protected]>
> Cc: Catalin Marinas <[email protected]>
> Cc: Chen Gang <[email protected]>
> Cc: Linus Torvalds <[email protected]>
> Cc: Nicolas Pitre <[email protected]>
> Cc: Russell King <[email protected]>
> Cc: Victor Kamensky <[email protected]>
> Cc: Will Deacon <[email protected]>
> Signed-off-by: Peter Zijlstra <[email protected]>
> ---
>  arch/arm/include/asm/atomic.h |  313 
> +++++++++++++++++-------------------------
>  1 file changed, 127 insertions(+), 186 deletions(-)

Acked-by: Will Deacon <[email protected]>

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to