[PATCH] fix comment in Light-weight-syscall code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The comment for the lws-atomic system call userspace helper 
function mentions r22 and r23 as input registers, but I couldn't 
find any usage of those registers in the code.
This patch fixes this and corrects another small typo as well.

Signed-off-by: Helge Deller <deller@xxxxxx>

diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S
index 69b6eeb..ae45262 100644
--- a/arch/parisc/kernel/syscall.S
+++ b/arch/parisc/kernel/syscall.S
@@ -368,11 +368,11 @@ tracesys_sigexit:
 		Light-weight-syscall code
 
 		r20 - lws number
-		r26,r25,r24,r23,r22 - Input registers
+		r26,r25,r24 - Input registers
 		r28 - Function return register
 		r21 - Error code.
 
-		Scracth: Any of the above that aren't being
+		Scratch: Any of the above that aren't being
 		currently used, including r1. 
 
 		Return pointer: r31 (Not usable)

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux