From e6b3f122472fcb7783dbfcff30b381b6b0f227cb Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Fri, 20 Feb 2009 13:31:01 +0000 Subject: sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architecture Signed-off-by: Peter Griffin --- libc/sysdeps/linux/sh/bits/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/sh/bits') 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 -- cgit v1.2.3