summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/entry.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-12-11 09:44:47 +0100
committerDavid S. Miller <davem@davemloft.net>2009-12-11 09:44:47 +0100
commitc658ad1b4e1520511da8323aa5e60d444cc303ed (patch)
tree7e2ce4179ecfdb0e10caa7c69fa86857c0398bf4 /arch/sparc/kernel/entry.S
parentsparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}() (diff)
downloadlinux-c658ad1b4e1520511da8323aa5e60d444cc303ed.tar.xz
linux-c658ad1b4e1520511da8323aa5e60d444cc303ed.zip
sparc64: Add syscall tracepoint support.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/entry.S')
-rw-r--r--arch/sparc/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S
index ec9c7bc67d21..1504df8ddf70 100644
--- a/arch/sparc/kernel/entry.S
+++ b/arch/sparc/kernel/entry.S
@@ -1294,7 +1294,7 @@ linux_sparc_syscall:
sethi %hi(PSR_SYSCALL), %l4
or %l0, %l4, %l0
/* Direct access to user regs, must faster. */
- cmp %g1, NR_SYSCALLS
+ cmp %g1, NR_syscalls
bgeu linux_sparc_ni_syscall
sll %g1, 2, %l4
ld [%l7 + %l4], %l7