]> Git Repo - linux.git/commit
MIPS: cmpxchg: Implement __cmpxchg() as a function
authorPaul Burton <[email protected]>
Sat, 10 Jun 2017 00:26:38 +0000 (17:26 -0700)
committerRalf Baechle <[email protected]>
Thu, 29 Jun 2017 00:42:25 +0000 (02:42 +0200)
commit8263db4d7768448cb06adbbdd14c613a1ea09830
tree7191e01be77bf903f87fb730e519152dcd8a5c58
parent62c6081dca75d6bec1198ed5a1ae50968b323a8c
MIPS: cmpxchg: Implement __cmpxchg() as a function

Replace the macro definition of __cmpxchg() with an inline function,
which is easier to read & modify. The cmpxchg() & cmpxchg_local() macros
are adjusted to call the new __cmpxchg() function.

Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/16353/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/include/asm/cmpxchg.h
This page took 0.057281 seconds and 4 git commands to generate.