>From c1f94ea2fbebc0ce321da7220c6a69bfb997c21a Mon Sep 17 00:00:00 2001
From: Peter Griffin <[email protected]>
Date: Fri, 20 Feb 2009 05:42:03 +0000
Subject: [PATCH] sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architecture


Signed-off-by: Peter Griffin <[email protected]>
---
 libc/sysdeps/linux/sh/bits/syscalls.h |    2 +-
 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 bcd73eb..f0aeb47 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
-- 
1.6.1



_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to