svn commit: branches/uClibc_0_9_30/libc/sysdeps/linux/sh/bits

carmelo at uclibc.org carmelo at uclibc.org
Fri Feb 20 13:32:13 UTC 2009


Author: carmelo
Date: 2009-02-20 13:32:13 +0000 (Fri, 20 Feb 2009)
New Revision: 25394

Log:
sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architecture

Signed-off-by: Peter Griffin <pgriffin at mpc-data.co.uk>


Modified:
   branches/uClibc_0_9_30/libc/sysdeps/linux/sh/bits/syscalls.h


Changeset:
Modified: branches/uClibc_0_9_30/libc/sysdeps/linux/sh/bits/syscalls.h
===================================================================
--- branches/uClibc_0_9_30/libc/sysdeps/linux/sh/bits/syscalls.h	2009-02-20 13:31:38 UTC (rev 25393)
+++ branches/uClibc_0_9_30/libc/sysdeps/linux/sh/bits/syscalls.h	2009-02-20 13:32:13 UTC (rev 25394)
@@ -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



More information about the uClibc-cvs mailing list