]> granicus.if.org Git - strace/commitdiff
Blackfin: disable socketcall and ipc subcall support
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 May 2013 05:49:41 +0000 (01:49 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 6 May 2013 18:08:39 +0000 (18:08 +0000)
The Blackfin arch does not have a socketcall or ipc subcall
(it has dedicated syscalls broken out), so disable the logic for it.

* linux/syscall.h [BFIN]: Do not define SYS_socket_subcall and
SYS_ipc_subcall.

linux/syscall.h

index 6368cefe0681c2cafdf5a64833fbe8f10a647d65..666de007174d342ab17362fa8d9b3d93e2bdbfdb 100644 (file)
@@ -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