[PATCH] xtensa: disable socket and ipc subcall support

Chris Zankel chris at zankel.net
Mon May 6 22:21:38 UTC 2013


The Xtensa architecture also used dedicated syscalls and doesn't
need to multiplex ipc and socket subcalls.

* linux/syscall.h: Do not define SYS_socket_subcall and
  SYS_ipc_subcall for xtensa.

Signed-off-by: Chris Zankel <chris at zankel.net>
---
 linux/syscall.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/linux/syscall.h b/linux/syscall.h
index d0cf423..878732d 100644
--- a/linux/syscall.h
+++ b/linux/syscall.h
@@ -318,7 +318,8 @@ int sys_osf_wait4();
  && !defined(HPPA) \
  && !defined(__ARM_EABI__) \
  && !defined(BFIN) \
- && !defined(TILE)
+ && !defined(TILE) \
+ && !defined(XTENSA)
 # if defined(SPARC) || defined(SPARC64)
 #  define SYS_socket_subcall	353
 # else
-- 
1.7.10.4





More information about the Strace-devel mailing list