summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-05-12 03:05:20 +0200
committerDavid S. Miller <davem@davemloft.net>2008-05-12 03:05:20 +0200
commit8bf3028ede10dfe22e1729ebad96f6eb77020712 (patch)
treeeed5cc6fdb15dd7fe8a9bf778eb5978d2af39888
parentsparc32: Fix build. (diff)
downloadlinux-8bf3028ede10dfe22e1729ebad96f6eb77020712.tar.xz
linux-8bf3028ede10dfe22e1729ebad96f6eb77020712.zip
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' Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/kernel/rtrap.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/rtrap.S b/arch/sparc/kernel/rtrap.S
index b27b5b56f77a..ab818cdc4cc0 100644
--- a/arch/sparc/kernel/rtrap.S
+++ b/arch/sparc/kernel/rtrap.S
@@ -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