Explorar o código

[Blackfin] arch: fix atomic and32/xor32 comments and ENDPROC markings

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Mike Frysinger %!s(int64=17) %!d(string=hai) anos
pai
achega
11b0be7c2c
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      arch/blackfin/kernel/fixed_code.S

+ 6 - 6
arch/blackfin/kernel/fixed_code.S

@@ -101,9 +101,9 @@ ENDPROC (_atomic_ior32)
 
 
 .align 16
 .align 16
 	/*
 	/*
-	 * Atomic ior, 32 bit.
+	 * Atomic and, 32 bit.
 	 * Inputs:	P0: memory address to use
 	 * Inputs:	P0: memory address to use
-	 *		R0: value to ior
+	 *		R0: value to and
 	 * Outputs:	R0: new contents of the memory address.
 	 * Outputs:	R0: new contents of the memory address.
 	 *		R1: previous contents of the memory address.
 	 *		R1: previous contents of the memory address.
 	 */
 	 */
@@ -112,13 +112,13 @@ ENTRY(_atomic_and32)
 	R0 = R1 & R0;
 	R0 = R1 & R0;
 	[P0] = R0;
 	[P0] = R0;
 	rts;
 	rts;
-ENDPROC (_atomic_ior32)
+ENDPROC (_atomic_and32)
 
 
 .align 16
 .align 16
 	/*
 	/*
-	 * Atomic ior, 32 bit.
+	 * Atomic xor, 32 bit.
 	 * Inputs:	P0: memory address to use
 	 * Inputs:	P0: memory address to use
-	 *		R0: value to ior
+	 *		R0: value to xor
 	 * Outputs:	R0: new contents of the memory address.
 	 * Outputs:	R0: new contents of the memory address.
 	 *		R1: previous contents of the memory address.
 	 *		R1: previous contents of the memory address.
 	 */
 	 */
@@ -127,7 +127,7 @@ ENTRY(_atomic_xor32)
 	R0 = R1 ^ R0;
 	R0 = R1 ^ R0;
 	[P0] = R0;
 	[P0] = R0;
 	rts;
 	rts;
-ENDPROC (_atomic_ior32)
+ENDPROC (_atomic_xor32)
 
 
 .align 16
 .align 16
 	/*
 	/*