root/arch/x86/include/asm/unistd.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef _ASM_X86_UNISTD_H
   3 #define _ASM_X86_UNISTD_H 1
   4 
   5 #include <uapi/asm/unistd.h>
   6 
   7 
   8 # ifdef CONFIG_X86_32
   9 
  10 #  include <asm/unistd_32.h>
  11 #  define __ARCH_WANT_STAT64
  12 #  define __ARCH_WANT_SYS_IPC
  13 #  define __ARCH_WANT_SYS_OLD_MMAP
  14 #  define __ARCH_WANT_SYS_OLD_SELECT
  15 
  16 # else
  17 
  18 #  include <asm/unistd_64.h>
  19 #  include <asm/unistd_64_x32.h>
  20 #  define __ARCH_WANT_SYS_TIME
  21 #  define __ARCH_WANT_SYS_UTIME
  22 #  define __ARCH_WANT_COMPAT_SYS_PREADV64
  23 #  define __ARCH_WANT_COMPAT_SYS_PWRITEV64
  24 #  define __ARCH_WANT_COMPAT_SYS_PREADV64V2
  25 #  define __ARCH_WANT_COMPAT_SYS_PWRITEV64V2
  26 
  27 # endif
  28 
  29 # define __ARCH_WANT_NEW_STAT
  30 # define __ARCH_WANT_OLD_READDIR
  31 # define __ARCH_WANT_OLD_STAT
  32 # define __ARCH_WANT_SYS_ALARM
  33 # define __ARCH_WANT_SYS_FADVISE64
  34 # define __ARCH_WANT_SYS_GETHOSTNAME
  35 # define __ARCH_WANT_SYS_GETPGRP
  36 # define __ARCH_WANT_SYS_NICE
  37 # define __ARCH_WANT_SYS_OLDUMOUNT
  38 # define __ARCH_WANT_SYS_OLD_GETRLIMIT
  39 # define __ARCH_WANT_SYS_OLD_UNAME
  40 # define __ARCH_WANT_SYS_PAUSE
  41 # define __ARCH_WANT_SYS_SIGNAL
  42 # define __ARCH_WANT_SYS_SIGPENDING
  43 # define __ARCH_WANT_SYS_SIGPROCMASK
  44 # define __ARCH_WANT_SYS_SOCKETCALL
  45 # define __ARCH_WANT_SYS_TIME32
  46 # define __ARCH_WANT_SYS_UTIME32
  47 # define __ARCH_WANT_SYS_WAITPID
  48 # define __ARCH_WANT_SYS_FORK
  49 # define __ARCH_WANT_SYS_VFORK
  50 # define __ARCH_WANT_SYS_CLONE
  51 # define __ARCH_WANT_SYS_CLONE3
  52 
  53 #endif /* _ASM_X86_UNISTD_H */

/* [<][>][^][v][top][bottom][index][help] */