Commit 0e980234 authored by Paul E. McKenney's avatar Paul E. McKenney

percpu: Fix raw_cpu_inc_return()

The definition for raw_cpu_add_return() uses the operation prefix
"raw_add_return_", but the definitions in the various percpu.h files
expect "raw_cpu_add_return_".  This commit therefore appropriately
adjusts the definition of raw_cpu_add_return().
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: default avatarChristoph Lameter <cl@linux.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent afea227f
...@@ -639,7 +639,7 @@ do { \ ...@@ -639,7 +639,7 @@ do { \
# define raw_cpu_add_return_8(pcp, val) raw_cpu_generic_add_return(pcp, val) # define raw_cpu_add_return_8(pcp, val) raw_cpu_generic_add_return(pcp, val)
# endif # endif
# define raw_cpu_add_return(pcp, val) \ # define raw_cpu_add_return(pcp, val) \
__pcpu_size_call_return2(raw_add_return_, pcp, val) __pcpu_size_call_return2(raw_cpu_add_return_, pcp, val)
#endif #endif
#define raw_cpu_sub_return(pcp, val) raw_cpu_add_return(pcp, -(typeof(pcp))(val)) #define raw_cpu_sub_return(pcp, val) raw_cpu_add_return(pcp, -(typeof(pcp))(val))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment