* [PATCH] sparc32: fix rtrap.S typo
@ 2008-05-12 0:45 Robert Reif
2008-05-12 1:05 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-05-12 0:45 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
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>
[-- Attachment #2: rtrap.diff.txt --]
[-- Type: text/plain, Size: 385 bytes --]
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-12 1:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 0:45 [PATCH] sparc32: fix rtrap.S typo Robert Reif
2008-05-12 1:05 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.