forked from Mirrors/opensbi
		
	include: Use more consistent name for atomic xchg() and cmpxchg()
We should remove the "arch_" prefix from atomic xchg() and cmpxchg() function names to have consistent naming of all atomic functions. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
		@@ -29,9 +29,9 @@ long atomic_add_return(atomic_t *atom, long value);
 | 
			
		||||
 | 
			
		||||
long atomic_sub_return(atomic_t *atom, long value);
 | 
			
		||||
 | 
			
		||||
long arch_atomic_cmpxchg(atomic_t *atom, long oldval, long newval);
 | 
			
		||||
long atomic_cmpxchg(atomic_t *atom, long oldval, long newval);
 | 
			
		||||
 | 
			
		||||
long arch_atomic_xchg(atomic_t *atom, long newval);
 | 
			
		||||
long atomic_xchg(atomic_t *atom, long newval);
 | 
			
		||||
 | 
			
		||||
unsigned int atomic_raw_xchg_uint(volatile unsigned int *ptr,
 | 
			
		||||
				  unsigned int newval);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user