Skip to contentSkip to conversation

s390: Point sys_getcpu_wrapper at the proper syscall.

PATCH In review Paul Mundt 2 participants 2 messages Oct 19, 2006 s390

lore
Share & tools
lore

Paul Mundt

author
#0 lore raw

PATCH 1/1 s390: Point sys_getcpu_wrapper at the proper syscall.

Looking at the new syscall additions, I noticed that sys_getcpu_wrapper wraps in to sys_tee, in what appears to be a copy and paste error. Switch it to point to sys_getcpu..

--

 arch/s390/kernel/compat_wrapper.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/compat_wrapper.S +1 -1
index cb0efae..71e54ef 100644
@@ -1664,4 +1664,4 @@ sys_getcpu_wrapper:
 	llgtr	%r2,%r2			# unsigned *
 	llgtr	%r3,%r3			# unsigned *
 	llgtr	%r4,%r4			# struct getcpu_cache *
-	jg	sys_tee
+	jg	sys_getcpu
#1 lore raw
Quoted 5 lines · Paul Mundt

Looking at the new syscall additions, I noticed that sys_getcpu_wrapper wraps in to sys_tee, in what appears to be a copy and paste error. Switch it to point to sys_getcpu..

Indeed, good spotting. Thanks the for patch.

Signature · 8 lines
blue skies,
  Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.