[PATCH] disable socketcall for Blackfin targets
Mike Frysinger
vapier at gentoo.org
Mon May 6 05:49:41 UTC 2013
The Blackfin arch does not have a socketcall (it has dedicated syscalls
broken out), so disable the logic for it.
* linux/syscall.h: Do not define SYS_socket_subcall for BFIN targets.
---
linux/syscall.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux/syscall.h b/linux/syscall.h
index 6368cef..666de00 100644
--- a/linux/syscall.h
+++ b/linux/syscall.h
@@ -316,7 +316,8 @@ int sys_osf_wait4();
#if !defined(ALPHA) \
&& !defined(MIPS) \
&& !defined(HPPA) \
- && !defined(__ARM_EABI__)
+ && !defined(__ARM_EABI__) \
+ && !defined(BFIN)
# if defined(SPARC) || defined(SPARC64)
# define SYS_socket_subcall 353
# else
--
1.8.2.1
More information about the Strace-devel
mailing list