sparc32: fix rtrap.S typo
authorRobert Reif <reif@earthlink.net>
Mon, 12 May 2008 01:05:20 +0000 (18:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2008 01:05:20 +0000 (18:05 -0700)
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'

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/rtrap.S

index b27b5b56f77a1d5c1a8a727654463097356c3e2a..ab818cdc4cc0da412da435093b5cce37c30da0b1 100644 (file)
@@ -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