All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix comment in Light-weight-syscall code
@ 2008-07-10 20:04 Helge Deller
  2008-07-10 20:35 ` Kyle McMartin
  2008-07-11 17:02 ` Carlos O'Donell
  0 siblings, 2 replies; 5+ messages in thread
From: Helge Deller @ 2008-07-10 20:04 UTC (permalink / raw)
  To: kyle; +Cc: linux-parisc, Carlos O'Donell

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@gmx.de>

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)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-11 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 20:04 [PATCH] fix comment in Light-weight-syscall code Helge Deller
2008-07-10 20:35 ` Kyle McMartin
2008-07-11 17:02 ` Carlos O'Donell
2008-07-11 18:33   ` Kyle McMartin
2008-07-11 19:45     ` Carlos O'Donell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.