summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-05-11 18:05:20 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-11 18:05:20 -0700
commit8bf3028ede10dfe22e1729ebad96f6eb77020712 (patch)
treeeed5cc6fdb15dd7fe8a9bf778eb5978d2af39888 /arch/sparc
parentb5e10df665e756c2c68442177e460d90bb9cf979 (diff)
downloadop-kernel-dev-8bf3028ede10dfe22e1729ebad96f6eb77020712.zip
op-kernel-dev-8bf3028ede10dfe22e1729ebad96f6eb77020712.tar.gz
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>
Diffstat (limited to 'arch/sparc')
-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 b27b5b5..ab818cd 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
OpenPOWER on IntegriCloud