summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 14:13:17 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 14:13:17 +0000
commitf89c4fbbb604952242c729706de082e4e6426152 (patch)
tree3098f802283f06645abd7bba330768d52fe052e6 /libc/sysdeps/linux
parente6b3f122472fcb7783dbfcff30b381b6b0f227cb (diff)
Fix typo.
Diffstat (limited to 'libc/sysdeps/linux')
-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 946053db3..d841467b0 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__ | __CONFIG_SH2A__
+#ifdef __CONFIG_SH2__ || __CONFIG_SH2A__
# define __SH_SYSCALL_TRAP_BASE 0x20
#else
# define __SH_SYSCALL_TRAP_BASE 0x10