Hexagon: use generic sys_fork, sys_vfork, and sys_clone
authorRichard Kuo <rkuo@codeaurora.org>
Wed, 20 Feb 2013 01:19:50 +0000 (19:19 -0600)
committerRichard Kuo <rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:26 +0000 (19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/Kconfig
arch/hexagon/include/uapi/asm/unistd.h

index b059d8c29fb5b255dde3a7820abd8aba19871cd2..9b94b0fcb777f5c6d2a6c2ba16ea03911cb5261c 100644 (file)
@@ -30,6 +30,8 @@ config HEXAGON
        select GENERIC_CLOCKEVENTS_BROADCAST
        select MODULES_USE_ELF_RELA
        select GENERIC_CPU_DEVICES
+       select GENERIC_KERNEL_THREAD
+       select GENERIC_KERNEL_EXECVE
        ---help---
          Qualcomm Hexagon is a processor architecture designed for high
          performance and low power across a wide variety of applications.
index 4a87cc47075c37d4f3f43997876a1383206e8cba..ffee405d68034a004168e0763e26fd146273d14f 100644 (file)
@@ -27,6 +27,9 @@
  */
 
 #define sys_mmap2 sys_mmap_pgoff
+#define __ARCH_WANT_SYS_EXECVE
 #define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_VFORK
+#define __ARCH_WANT_SYS_FORK
 
 #include <asm-generic/unistd.h>