changeset 84:5f3618fbf9ae

arch: fix SVC interrupt handler
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Wed, 27 Apr 2011 13:00:16 -0400
parents ca308c8ca41e
children e7b9148156c4
files arch/svcint.S arch/svcint.o
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/arch/svcint.S	Wed Apr 27 12:16:35 2011 -0400
+++ b/arch/svcint.S	Wed Apr 27 13:00:16 2011 -0400
@@ -13,11 +13,11 @@
 	xgr	%r7,%r7			# just to make sure accesses to more
 					# than 4 args fail
 	larl	%r15,_SVC_STACK
-	lg	%r15,%r15
+	lg	%r15,0(%r15)
 
 	# call into C... f(svc, arg0, arg1, arg2, arg3)
 	larl	%r14,_SVC_HANDLER
-	lg	%r14,%r14
+	lg	%r14,0(%r14)
 	basr	%r14,%r14
 
 	stmg	%r2,%r3,_PSA_GPRS+16	# store the return value
Binary file arch/svcint.o has changed