summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 13:31:01 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 13:31:01 +0000
commite6b3f122472fcb7783dbfcff30b381b6b0f227cb (patch)
tree6d19d035f463379e846f06f47e0c2621bb1e65fd /libc/sysdeps/linux/sh
parent384bdf3b1735bccb55010af9c36e866b20a26dfa (diff)
sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architecture
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Diffstat (limited to 'libc/sysdeps/linux/sh')
-rw-r--r--libc/sysdeps/linux/sh/bits/syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/bits/syscalls.h b/libc/sysdeps/linux/sh/bits/syscalls.h
index bcd73eb43..946053db3 100644
--- a/libc/sysdeps/linux/sh/bits/syscalls.h
+++ b/libc/sysdeps/linux/sh/bits/syscalls.h
@@ -5,7 +5,7 @@
#endif
/* The Linux kernel uses different trap numbers on sh-2. */
-#ifdef __CONFIG_SH2__
+#ifdef __CONFIG_SH2__ | __CONFIG_SH2A__
# define __SH_SYSCALL_TRAP_BASE 0x20
#else
# define __SH_SYSCALL_TRAP_BASE 0x10