Skip to contentSkip to conversation

sparc32: fix rtrap.S typo

PATCH Applied Robert Reif 2 participants 2 messages May 12, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc32: fix rtrap.S typo

Fix compile problem in rtrap.S

arch/sparc/kernel/built-in.o: In function `ret_trap_userwins_ok':
arch/sparc/kernel/rtrap.S:(.text+0x1900): undefined reference to `PSR_SYCALL'

arch/sparc/kernel/rtrap.S +1 -1
index b27b5b5..ab818cd 100644
@@ -139,7 +139,7 @@ ret_trap_userwins_ok:
 	LOAD_PT_PRIV(sp, t_psr, t_pc, t_npc)
 	or	%t_pc, %t_npc, %g2
 	andcc	%g2, 0x3, %g0
-	sethi	%hi(PSR_SYCALL), %g2
+	sethi	%hi(PSR_SYSCALL), %g2
 	be	1f
 	 andn	%t_psr, %g2, %t_psr
 
maintainer Applied
#1 lore raw

From: Robert Reif <[email protected]>
Date: Sun, 11 May 2008 20:45:46 -0400

Quoted 7 lines

Fix compile problem in rtrap.S

arch/sparc/kernel/built-in.o: In function `ret_trap_userwins_ok':
arch/sparc/kernel/rtrap.S:(.text+0x1900): undefined reference to `PSR_SYCALL'

APplied, thanks Robert.