]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Oct 2012 20:23:39 +0000 (13:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Oct 2012 20:23:39 +0000 (13:23 -0700)
Pull user namespace compile fixes from Eric W Biederman:
 "This tree contains three trivial fixes.  One compiler warning, one
  thinko fix, and one build fix"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  btrfs: Fix compilation with user namespace support enabled
  userns: Fix posix_acl_file_xattr_userns gid conversion
  userns: Properly print bluetooth socket uids

863 files changed:
Documentation/ABI/testing/sysfs-bus-fcoe
Documentation/device-mapper/dm-raid.txt
Documentation/filesystems/nfs/nfsd-admin-interfaces.txt [new file with mode: 0644]
Documentation/hwmon/exynos4_tmu [deleted file]
Documentation/scsi/ChangeLog.megaraid_sas
Documentation/thermal/cpu-cooling-api.txt [new file with mode: 0644]
Documentation/thermal/exynos_thermal [new file with mode: 0644]
Documentation/thermal/sysfs-api.txt
arch/Kconfig
arch/alpha/Kconfig
arch/alpha/include/asm/unistd.h
arch/alpha/kernel/entry.S
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/signal.c
arch/arm/Kconfig
arch/arm/include/asm/unistd.h
arch/arm/kernel/entry-common.S
arch/arm/kernel/process.c
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/auxvec.h [deleted file]
arch/arm64/include/asm/bitsperlong.h [deleted file]
arch/arm64/include/asm/byteorder.h [deleted file]
arch/arm64/include/asm/fcntl.h [deleted file]
arch/arm64/include/asm/hwcap.h
arch/arm64/include/asm/param.h [deleted file]
arch/arm64/include/asm/ptrace.h
arch/arm64/include/asm/setup.h [deleted file]
arch/arm64/include/asm/sigcontext.h
arch/arm64/include/asm/siginfo.h [deleted file]
arch/arm64/include/asm/signal.h [deleted file]
arch/arm64/include/asm/stat.h
arch/arm64/include/asm/statfs.h [deleted file]
arch/arm64/include/asm/unistd.h
arch/arm64/include/asm/unistd32.h
arch/arm64/include/uapi/asm/Kbuild
arch/arm64/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/fcntl.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/hwcap.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/param.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/setup.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/signal.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/stat.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/statfs.h [new file with mode: 0644]
arch/arm64/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/arm64/kernel/entry.S
arch/arm64/kernel/ptrace.c
arch/arm64/kernel/signal32.c
arch/arm64/kernel/sys.c
arch/arm64/kernel/sys32.S
arch/arm64/kernel/sys_compat.c
arch/avr32/include/asm/Kbuild
arch/avr32/include/asm/auxvec.h [deleted file]
arch/avr32/include/asm/bitsperlong.h [deleted file]
arch/avr32/include/asm/byteorder.h [deleted file]
arch/avr32/include/asm/cachectl.h [deleted file]
arch/avr32/include/asm/errno.h [deleted file]
arch/avr32/include/asm/fcntl.h [deleted file]
arch/avr32/include/asm/ioctl.h [deleted file]
arch/avr32/include/asm/ioctls.h [deleted file]
arch/avr32/include/asm/ipcbuf.h [deleted file]
arch/avr32/include/asm/kvm_para.h [deleted file]
arch/avr32/include/asm/mman.h [deleted file]
arch/avr32/include/asm/msgbuf.h [deleted file]
arch/avr32/include/asm/param.h
arch/avr32/include/asm/poll.h [deleted file]
arch/avr32/include/asm/posix_types.h [deleted file]
arch/avr32/include/asm/ptrace.h
arch/avr32/include/asm/resource.h [deleted file]
arch/avr32/include/asm/sembuf.h [deleted file]
arch/avr32/include/asm/setup.h
arch/avr32/include/asm/shmbuf.h [deleted file]
arch/avr32/include/asm/sigcontext.h [deleted file]
arch/avr32/include/asm/siginfo.h [deleted file]
arch/avr32/include/asm/signal.h
arch/avr32/include/asm/socket.h [deleted file]
arch/avr32/include/asm/sockios.h [deleted file]
arch/avr32/include/asm/stat.h [deleted file]
arch/avr32/include/asm/statfs.h [deleted file]
arch/avr32/include/asm/swab.h [deleted file]
arch/avr32/include/asm/termbits.h [deleted file]
arch/avr32/include/asm/termios.h
arch/avr32/include/asm/types.h
arch/avr32/include/asm/unistd.h
arch/avr32/include/uapi/asm/Kbuild
arch/avr32/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/cachectl.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/errno.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/fcntl.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/ioctl.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/ioctls.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/ipcbuf.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/mman.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/msgbuf.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/param.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/poll.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/posix_types.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/resource.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/sembuf.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/setup.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/shmbuf.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/signal.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/socket.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/sockios.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/stat.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/statfs.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/swab.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/termbits.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/termios.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/types.h [new file with mode: 0644]
arch/avr32/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/avr32/kernel/process.c
arch/blackfin/kernel/process.c
arch/c6x/include/asm/Kbuild
arch/c6x/include/asm/byteorder.h [deleted file]
arch/c6x/include/asm/kvm_para.h [deleted file]
arch/c6x/include/asm/ptrace.h
arch/c6x/include/asm/setup.h [deleted file]
arch/c6x/include/asm/sigcontext.h [deleted file]
arch/c6x/include/asm/swab.h [deleted file]
arch/c6x/include/asm/unistd.h [deleted file]
arch/c6x/include/uapi/asm/Kbuild
arch/c6x/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/c6x/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/c6x/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/c6x/include/uapi/asm/setup.h [new file with mode: 0644]
arch/c6x/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/c6x/include/uapi/asm/swab.h [new file with mode: 0644]
arch/c6x/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/cris/arch-v10/kernel/process.c
arch/cris/arch-v32/kernel/process.c
arch/frv/include/asm/Kbuild
arch/frv/include/asm/auxvec.h [deleted file]
arch/frv/include/asm/bitsperlong.h [deleted file]
arch/frv/include/asm/byteorder.h [deleted file]
arch/frv/include/asm/errno.h [deleted file]
arch/frv/include/asm/fcntl.h [deleted file]
arch/frv/include/asm/ioctl.h [deleted file]
arch/frv/include/asm/ioctls.h [deleted file]
arch/frv/include/asm/ipcbuf.h [deleted file]
arch/frv/include/asm/kvm_para.h [deleted file]
arch/frv/include/asm/mman.h [deleted file]
arch/frv/include/asm/msgbuf.h [deleted file]
arch/frv/include/asm/param.h [deleted file]
arch/frv/include/asm/poll.h [deleted file]
arch/frv/include/asm/posix_types.h [deleted file]
arch/frv/include/asm/ptrace.h
arch/frv/include/asm/registers.h [deleted file]
arch/frv/include/asm/resource.h [deleted file]
arch/frv/include/asm/sembuf.h [deleted file]
arch/frv/include/asm/setup.h
arch/frv/include/asm/shmbuf.h [deleted file]
arch/frv/include/asm/sigcontext.h [deleted file]
arch/frv/include/asm/siginfo.h [deleted file]
arch/frv/include/asm/signal.h
arch/frv/include/asm/socket.h [deleted file]
arch/frv/include/asm/sockios.h [deleted file]
arch/frv/include/asm/stat.h [deleted file]
arch/frv/include/asm/statfs.h [deleted file]
arch/frv/include/asm/swab.h [deleted file]
arch/frv/include/asm/termbits.h [deleted file]
arch/frv/include/asm/termios.h
arch/frv/include/asm/types.h
arch/frv/include/asm/unistd.h
arch/frv/include/uapi/asm/Kbuild
arch/frv/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/frv/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/frv/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/frv/include/uapi/asm/errno.h [new file with mode: 0644]
arch/frv/include/uapi/asm/fcntl.h [new file with mode: 0644]
arch/frv/include/uapi/asm/ioctl.h [new file with mode: 0644]
arch/frv/include/uapi/asm/ioctls.h [new file with mode: 0644]
arch/frv/include/uapi/asm/ipcbuf.h [new file with mode: 0644]
arch/frv/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/frv/include/uapi/asm/mman.h [new file with mode: 0644]
arch/frv/include/uapi/asm/msgbuf.h [new file with mode: 0644]
arch/frv/include/uapi/asm/param.h [new file with mode: 0644]
arch/frv/include/uapi/asm/poll.h [new file with mode: 0644]
arch/frv/include/uapi/asm/posix_types.h [new file with mode: 0644]
arch/frv/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/frv/include/uapi/asm/registers.h [new file with mode: 0644]
arch/frv/include/uapi/asm/resource.h [new file with mode: 0644]
arch/frv/include/uapi/asm/sembuf.h [new file with mode: 0644]
arch/frv/include/uapi/asm/setup.h [new file with mode: 0644]
arch/frv/include/uapi/asm/shmbuf.h [new file with mode: 0644]
arch/frv/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/frv/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/frv/include/uapi/asm/signal.h [new file with mode: 0644]
arch/frv/include/uapi/asm/socket.h [new file with mode: 0644]
arch/frv/include/uapi/asm/sockios.h [new file with mode: 0644]
arch/frv/include/uapi/asm/stat.h [new file with mode: 0644]
arch/frv/include/uapi/asm/statfs.h [new file with mode: 0644]
arch/frv/include/uapi/asm/swab.h [new file with mode: 0644]
arch/frv/include/uapi/asm/termbits.h [new file with mode: 0644]
arch/frv/include/uapi/asm/termios.h [new file with mode: 0644]
arch/frv/include/uapi/asm/types.h [new file with mode: 0644]
arch/frv/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/h8300/kernel/process.c
arch/hexagon/kernel/syscall.c
arch/ia64/include/asm/Kbuild
arch/ia64/include/asm/auxvec.h [deleted file]
arch/ia64/include/asm/bitsperlong.h [deleted file]
arch/ia64/include/asm/break.h [deleted file]
arch/ia64/include/asm/byteorder.h [deleted file]
arch/ia64/include/asm/cmpxchg.h [deleted file]
arch/ia64/include/asm/errno.h [deleted file]
arch/ia64/include/asm/fcntl.h [deleted file]
arch/ia64/include/asm/fpu.h [deleted file]
arch/ia64/include/asm/gcc_intrin.h
arch/ia64/include/asm/ia64regs.h [deleted file]
arch/ia64/include/asm/intel_intrin.h [deleted file]
arch/ia64/include/asm/intrinsics.h
arch/ia64/include/asm/ioctl.h [deleted file]
arch/ia64/include/asm/ioctls.h [deleted file]
arch/ia64/include/asm/ipcbuf.h [deleted file]
arch/ia64/include/asm/kvm.h [deleted file]
arch/ia64/include/asm/kvm_para.h
arch/ia64/include/asm/mman.h
arch/ia64/include/asm/msgbuf.h [deleted file]
arch/ia64/include/asm/param.h
arch/ia64/include/asm/perfmon.h
arch/ia64/include/asm/perfmon_default_smpl.h [deleted file]
arch/ia64/include/asm/poll.h [deleted file]
arch/ia64/include/asm/posix_types.h [deleted file]
arch/ia64/include/asm/ptrace.h
arch/ia64/include/asm/ptrace_offsets.h [deleted file]
arch/ia64/include/asm/resource.h [deleted file]
arch/ia64/include/asm/rse.h [deleted file]
arch/ia64/include/asm/sembuf.h [deleted file]
arch/ia64/include/asm/setup.h [deleted file]
arch/ia64/include/asm/shmbuf.h [deleted file]
arch/ia64/include/asm/sigcontext.h [deleted file]
arch/ia64/include/asm/siginfo.h
arch/ia64/include/asm/signal.h
arch/ia64/include/asm/socket.h [deleted file]
arch/ia64/include/asm/sockios.h [deleted file]
arch/ia64/include/asm/stat.h [deleted file]
arch/ia64/include/asm/statfs.h [deleted file]
arch/ia64/include/asm/swab.h [deleted file]
arch/ia64/include/asm/termbits.h [deleted file]
arch/ia64/include/asm/termios.h
arch/ia64/include/asm/types.h
arch/ia64/include/asm/ucontext.h [deleted file]
arch/ia64/include/asm/unistd.h
arch/ia64/include/asm/ustack.h
arch/ia64/include/uapi/asm/Kbuild
arch/ia64/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/break.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/cmpxchg.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/errno.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/fcntl.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/fpu.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/gcc_intrin.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ia64regs.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/intel_intrin.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/intrinsics.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ioctl.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ioctls.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ipcbuf.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/kvm.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/mman.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/msgbuf.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/param.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/perfmon.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/perfmon_default_smpl.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/poll.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/posix_types.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ptrace_offsets.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/resource.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/rse.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/sembuf.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/setup.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/shmbuf.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/signal.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/socket.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/sockios.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/stat.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/statfs.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/swab.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/termbits.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/termios.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/types.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ucontext.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/ia64/include/uapi/asm/ustack.h [new file with mode: 0644]
arch/ia64/kernel/process.c
arch/m32r/kernel/process.c
arch/microblaze/kernel/sys_microblaze.c
arch/mips/kernel/kgdb.c
arch/mips/kernel/linux32.c
arch/mips/kernel/syscall.c
arch/mn10300/include/asm/Kbuild
arch/mn10300/include/asm/auxvec.h [deleted file]
arch/mn10300/include/asm/bitsperlong.h [deleted file]
arch/mn10300/include/asm/byteorder.h [deleted file]
arch/mn10300/include/asm/errno.h [deleted file]
arch/mn10300/include/asm/fcntl.h [deleted file]
arch/mn10300/include/asm/ioctl.h [deleted file]
arch/mn10300/include/asm/ioctls.h [deleted file]
arch/mn10300/include/asm/ipcbuf.h [deleted file]
arch/mn10300/include/asm/kvm_para.h [deleted file]
arch/mn10300/include/asm/mman.h [deleted file]
arch/mn10300/include/asm/msgbuf.h [deleted file]
arch/mn10300/include/asm/param.h [deleted file]
arch/mn10300/include/asm/poll.h [deleted file]
arch/mn10300/include/asm/posix_types.h [deleted file]
arch/mn10300/include/asm/ptrace.h
arch/mn10300/include/asm/resource.h [deleted file]
arch/mn10300/include/asm/sembuf.h [deleted file]
arch/mn10300/include/asm/setup.h
arch/mn10300/include/asm/shmbuf.h [deleted file]
arch/mn10300/include/asm/sigcontext.h [deleted file]
arch/mn10300/include/asm/siginfo.h [deleted file]
arch/mn10300/include/asm/signal.h
arch/mn10300/include/asm/socket.h [deleted file]
arch/mn10300/include/asm/sockios.h [deleted file]
arch/mn10300/include/asm/stat.h [deleted file]
arch/mn10300/include/asm/statfs.h [deleted file]
arch/mn10300/include/asm/swab.h [deleted file]
arch/mn10300/include/asm/termbits.h [deleted file]
arch/mn10300/include/asm/termios.h
arch/mn10300/include/asm/types.h
arch/mn10300/include/asm/unistd.h
arch/mn10300/include/uapi/asm/Kbuild
arch/mn10300/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/errno.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/fcntl.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/ioctl.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/ioctls.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/ipcbuf.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/mman.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/msgbuf.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/param.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/poll.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/posix_types.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/resource.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/sembuf.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/setup.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/shmbuf.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/signal.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/socket.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/sockios.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/stat.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/statfs.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/swab.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/termbits.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/termios.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/types.h [new file with mode: 0644]
arch/mn10300/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/openrisc/include/asm/processor.h
arch/openrisc/kernel/irq.c
arch/openrisc/kernel/process.c
arch/openrisc/kernel/ptrace.c
arch/openrisc/lib/delay.c
arch/parisc/hpux/fs.c
arch/parisc/kernel/process.c
arch/parisc/kernel/sys_parisc32.c
arch/powerpc/include/asm/Kbuild
arch/powerpc/include/asm/auxvec.h [deleted file]
arch/powerpc/include/asm/bitsperlong.h [deleted file]
arch/powerpc/include/asm/bootx.h
arch/powerpc/include/asm/byteorder.h [deleted file]
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/elf.h
arch/powerpc/include/asm/errno.h [deleted file]
arch/powerpc/include/asm/fcntl.h [deleted file]
arch/powerpc/include/asm/ioctl.h [deleted file]
arch/powerpc/include/asm/ioctls.h [deleted file]
arch/powerpc/include/asm/ipcbuf.h [deleted file]
arch/powerpc/include/asm/kvm.h [deleted file]
arch/powerpc/include/asm/kvm_para.h
arch/powerpc/include/asm/linkage.h [deleted file]
arch/powerpc/include/asm/mman.h
arch/powerpc/include/asm/msgbuf.h [deleted file]
arch/powerpc/include/asm/nvram.h
arch/powerpc/include/asm/param.h [deleted file]
arch/powerpc/include/asm/poll.h [deleted file]
arch/powerpc/include/asm/posix_types.h [deleted file]
arch/powerpc/include/asm/ps3fb.h [deleted file]
arch/powerpc/include/asm/ptrace.h
arch/powerpc/include/asm/resource.h [deleted file]
arch/powerpc/include/asm/seccomp.h [deleted file]
arch/powerpc/include/asm/sembuf.h [deleted file]
arch/powerpc/include/asm/setup.h [deleted file]
arch/powerpc/include/asm/shmbuf.h [deleted file]
arch/powerpc/include/asm/sigcontext.h [deleted file]
arch/powerpc/include/asm/siginfo.h [deleted file]
arch/powerpc/include/asm/signal.h
arch/powerpc/include/asm/socket.h [deleted file]
arch/powerpc/include/asm/sockios.h [deleted file]
arch/powerpc/include/asm/spu_info.h
arch/powerpc/include/asm/stat.h [deleted file]
arch/powerpc/include/asm/statfs.h [deleted file]
arch/powerpc/include/asm/swab.h
arch/powerpc/include/asm/termbits.h [deleted file]
arch/powerpc/include/asm/termios.h
arch/powerpc/include/asm/types.h
arch/powerpc/include/asm/ucontext.h [deleted file]
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/uapi/asm/Kbuild
arch/powerpc/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/bootx.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/cputable.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/elf.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/errno.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/fcntl.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/ioctl.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/ioctls.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/ipcbuf.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/kvm.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/linkage.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/mman.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/msgbuf.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/nvram.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/param.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/poll.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/posix_types.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/ps3fb.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/resource.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/seccomp.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/sembuf.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/setup.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/shmbuf.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/signal.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/socket.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/sockios.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/spu_info.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/stat.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/statfs.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/swab.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/termbits.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/termios.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/types.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/ucontext.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/powerpc/platforms/pseries/eeh_event.c
arch/score/kernel/sys_score.c
arch/sh/kernel/process_32.c
arch/sh/kernel/process_64.c
arch/sparc/include/asm/uaccess_64.h
arch/sparc/kernel/process_32.c
arch/sparc/kernel/process_64.c
arch/sparc/kernel/sys_sparc32.c
arch/sparc/kernel/syscalls.S
arch/sparc/kernel/traps_64.c
arch/sparc/mm/fault_64.c
arch/tile/include/arch/Kbuild
arch/tile/include/arch/abi.h [deleted file]
arch/tile/include/arch/chip.h [deleted file]
arch/tile/include/arch/chip_tile64.h [deleted file]
arch/tile/include/arch/chip_tilegx.h [deleted file]
arch/tile/include/arch/chip_tilepro.h [deleted file]
arch/tile/include/arch/icache.h [deleted file]
arch/tile/include/arch/interrupts.h [deleted file]
arch/tile/include/arch/interrupts_32.h [deleted file]
arch/tile/include/arch/interrupts_64.h [deleted file]
arch/tile/include/arch/opcode.h [deleted file]
arch/tile/include/arch/opcode_tilegx.h [deleted file]
arch/tile/include/arch/opcode_tilepro.h [deleted file]
arch/tile/include/arch/sim.h [deleted file]
arch/tile/include/arch/sim_def.h [deleted file]
arch/tile/include/arch/spr_def.h
arch/tile/include/arch/spr_def_32.h [deleted file]
arch/tile/include/arch/spr_def_64.h [deleted file]
arch/tile/include/asm/Kbuild
arch/tile/include/asm/auxvec.h [deleted file]
arch/tile/include/asm/bitsperlong.h [deleted file]
arch/tile/include/asm/byteorder.h [deleted file]
arch/tile/include/asm/cachectl.h [deleted file]
arch/tile/include/asm/hardwall.h
arch/tile/include/asm/kvm_para.h [deleted file]
arch/tile/include/asm/mman.h [deleted file]
arch/tile/include/asm/ptrace.h
arch/tile/include/asm/setup.h
arch/tile/include/asm/sigcontext.h [deleted file]
arch/tile/include/asm/siginfo.h [deleted file]
arch/tile/include/asm/signal.h
arch/tile/include/asm/stat.h [deleted file]
arch/tile/include/asm/swab.h [deleted file]
arch/tile/include/asm/unistd.h
arch/tile/include/uapi/arch/Kbuild
arch/tile/include/uapi/arch/abi.h [new file with mode: 0644]
arch/tile/include/uapi/arch/chip.h [new file with mode: 0644]
arch/tile/include/uapi/arch/chip_tile64.h [new file with mode: 0644]
arch/tile/include/uapi/arch/chip_tilegx.h [new file with mode: 0644]
arch/tile/include/uapi/arch/chip_tilepro.h [new file with mode: 0644]
arch/tile/include/uapi/arch/icache.h [new file with mode: 0644]
arch/tile/include/uapi/arch/interrupts.h [new file with mode: 0644]
arch/tile/include/uapi/arch/interrupts_32.h [new file with mode: 0644]
arch/tile/include/uapi/arch/interrupts_64.h [new file with mode: 0644]
arch/tile/include/uapi/arch/opcode.h [new file with mode: 0644]
arch/tile/include/uapi/arch/opcode_tilegx.h [new file with mode: 0644]
arch/tile/include/uapi/arch/opcode_tilepro.h [new file with mode: 0644]
arch/tile/include/uapi/arch/sim.h [new file with mode: 0644]
arch/tile/include/uapi/arch/sim_def.h [new file with mode: 0644]
arch/tile/include/uapi/arch/spr_def.h [new file with mode: 0644]
arch/tile/include/uapi/arch/spr_def_32.h [new file with mode: 0644]
arch/tile/include/uapi/arch/spr_def_64.h [new file with mode: 0644]
arch/tile/include/uapi/asm/Kbuild
arch/tile/include/uapi/asm/auxvec.h [new file with mode: 0644]
arch/tile/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
arch/tile/include/uapi/asm/byteorder.h [new file with mode: 0644]
arch/tile/include/uapi/asm/cachectl.h [new file with mode: 0644]
arch/tile/include/uapi/asm/hardwall.h [new file with mode: 0644]
arch/tile/include/uapi/asm/kvm_para.h [new file with mode: 0644]
arch/tile/include/uapi/asm/mman.h [new file with mode: 0644]
arch/tile/include/uapi/asm/ptrace.h [new file with mode: 0644]
arch/tile/include/uapi/asm/setup.h [new file with mode: 0644]
arch/tile/include/uapi/asm/sigcontext.h [new file with mode: 0644]
arch/tile/include/uapi/asm/siginfo.h [new file with mode: 0644]
arch/tile/include/uapi/asm/signal.h [new file with mode: 0644]
arch/tile/include/uapi/asm/stat.h [new file with mode: 0644]
arch/tile/include/uapi/asm/swab.h [new file with mode: 0644]
arch/tile/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/tile/kernel/process.c
arch/um/include/asm/processor-generic.h
arch/um/include/shared/os.h
arch/um/kernel/exec.c
arch/um/kernel/process.c
arch/um/os-Linux/process.c
arch/unicore32/kernel/sys.c
arch/x86/Kconfig
arch/x86/include/asm/msr-index.h
arch/x86/include/asm/unistd.h
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_amd_ibs.c
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_knc.c [new file with mode: 0644]
arch/x86/kernel/cpu/perfctr-watchdog.c
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/kgdb.c
arch/x86/um/Kconfig
arch/xtensa/kernel/process.c
crypto/xor.c
drivers/acpi/ec.c
drivers/acpi/processor_idle.c
drivers/acpi/thermal.c
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_ppi.c
drivers/cpuidle/cpuidle.c
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/exynos4_tmu.c [deleted file]
drivers/input/evdev.c
drivers/input/input.c
drivers/input/joydev.c
drivers/input/keyboard/samsung-keypad.c
drivers/input/mousedev.c
drivers/input/tablet/wacom_sys.c
drivers/input/tablet/wacom_wac.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/isdn/i4l/isdn_ppp.c
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/bitmap.c
drivers/md/dm-bio-prison.c [new file with mode: 0644]
drivers/md/dm-bio-prison.h [new file with mode: 0644]
drivers/md/dm-bufio.c
drivers/md/dm-mpath.c
drivers/md/dm-raid.c
drivers/md/dm-thin.c
drivers/md/dm-verity.c
drivers/md/dm.c
drivers/md/linear.c
drivers/md/md.c
drivers/md/md.h
drivers/md/multipath.c
drivers/md/persistent-data/dm-space-map-common.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
drivers/md/raid5.h
drivers/mmc/host/mxs-mmc.c
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/jme.c
drivers/net/usb/cdc_eem.c
drivers/net/usb/kaweth.c
drivers/net/usb/mcs7830.c
drivers/net/usb/usbnet.c
drivers/net/vxlan.c
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/pci.c
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ath/carl9170/carl9170.h
drivers/net/wireless/ath/carl9170/main.c
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/join.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/scan.c
drivers/net/wireless/mwifiex/sta_cmdresp.c
drivers/net/wireless/mwifiex/sta_event.c
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/xen-netback/netback.c
drivers/platform/x86/acerhdf.c
drivers/platform/x86/intel_mid_thermal.c
drivers/power/power_supply_core.c
drivers/scsi/bfa/bfa_core.c
drivers/scsi/bfa/bfa_defs.h
drivers/scsi/bfa/bfa_defs_svc.h
drivers/scsi/bfa/bfa_fc.h
drivers/scsi/bfa/bfa_fcbuild.c
drivers/scsi/bfa/bfa_fcpim.c
drivers/scsi/bfa/bfa_fcpim.h
drivers/scsi/bfa/bfa_fcs.c
drivers/scsi/bfa/bfa_fcs.h
drivers/scsi/bfa/bfa_fcs_lport.c
drivers/scsi/bfa/bfa_fcs_rport.c
drivers/scsi/bfa/bfa_ioc.c
drivers/scsi/bfa/bfa_ioc.h
drivers/scsi/bfa/bfa_ioc_ct.c
drivers/scsi/bfa/bfa_modules.h
drivers/scsi/bfa/bfa_port.c
drivers/scsi/bfa/bfa_port.h
drivers/scsi/bfa/bfa_svc.c
drivers/scsi/bfa/bfa_svc.h
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_bsg.c
drivers/scsi/bfa/bfad_bsg.h
drivers/scsi/bfa/bfad_drv.h
drivers/scsi/bfa/bfi.h
drivers/scsi/bfa/bfi_ms.h
drivers/scsi/bfa/bfi_reg.h
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe.h
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_sli4.h
drivers/scsi/lpfc/lpfc_version.h
drivers/scsi/megaraid/megaraid_sas.h
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/megaraid/megaraid_sas_fp.c
drivers/scsi/megaraid/megaraid_sas_fusion.c
drivers/scsi/megaraid/megaraid_sas_fusion.h
drivers/scsi/mvumi.c
drivers/scsi/mvumi.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/scsi_debug.c
drivers/scsi/scsi_error.c
drivers/scsi/storvsc_drv.c
drivers/scsi/virtio_scsi.c
drivers/staging/omap-thermal/omap-thermal-common.c
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/cpu_cooling.c [new file with mode: 0644]
drivers/thermal/exynos_thermal.c [new file with mode: 0644]
drivers/thermal/rcar_thermal.c [new file with mode: 0644]
drivers/thermal/spear_thermal.c
drivers/thermal/thermal_sys.c
drivers/tty/serial/kgdboc.c
drivers/tty/vt/vt.c
drivers/usb/class/cdc-acm.c
fs/btrfs/ioctl.c
fs/compat.c
fs/exec.c
fs/filesystems.c
fs/internal.h
fs/lockd/svc.c
fs/locks.c
fs/namei.c
fs/namespace.c
fs/nfs/callback.c
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4idmap.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsctl.c
fs/nfsd/nfsd.h
fs/nfsd/nfssvc.c
fs/nfsd/state.h
fs/nfsd/vfs.c
fs/open.c
fs/proc/base.c
fs/quota/quota.c
fs/xattr.c
include/linux/audit.h
include/linux/can/Kbuild
include/linux/can/bcm.h [deleted file]
include/linux/can/error.h [deleted file]
include/linux/can/gw.h [deleted file]
include/linux/can/netlink.h [deleted file]
include/linux/can/raw.h [deleted file]
include/linux/console.h
include/linux/cpu_cooling.h [new file with mode: 0644]
include/linux/fs.h
include/linux/fsnotify.h
include/linux/if_link.h
include/linux/input.h
include/linux/mmc/Kbuild
include/linux/mmc/ioctl.h [deleted file]
include/linux/nfsd/Kbuild
include/linux/nfsd/cld.h [deleted file]
include/linux/nfsd/debug.h
include/linux/nfsd/export.h
include/linux/nfsd/nfsfh.h
include/linux/nfsd/stats.h
include/linux/of_mdio.h
include/linux/perf_event.h
include/linux/platform_data/exynos4_tmu.h [deleted file]
include/linux/platform_data/exynos_thermal.h [new file with mode: 0644]
include/linux/sunrpc/Kbuild
include/linux/sunrpc/debug.h
include/linux/sunrpc/svc_xprt.h
include/linux/sunrpc/svcsock.h
include/linux/syscalls.h
include/linux/thermal.h
include/linux/usb/usbnet.h
include/linux/virtio_scsi.h
include/linux/wimax/Kbuild
include/linux/wimax/i2400m.h [deleted file]
include/scsi/fc/fc_fcp.h
include/scsi/libfcoe.h
include/scsi/scsi_cmnd.h
include/uapi/linux/can/Kbuild
include/uapi/linux/can/bcm.h [new file with mode: 0644]
include/uapi/linux/can/error.h [new file with mode: 0644]
include/uapi/linux/can/gw.h [new file with mode: 0644]
include/uapi/linux/can/netlink.h [new file with mode: 0644]
include/uapi/linux/can/raw.h [new file with mode: 0644]
include/uapi/linux/mmc/Kbuild
include/uapi/linux/mmc/ioctl.h [new file with mode: 0644]
include/uapi/linux/nfsd/Kbuild
include/uapi/linux/nfsd/cld.h [new file with mode: 0644]
include/uapi/linux/nfsd/debug.h [new file with mode: 0644]
include/uapi/linux/nfsd/export.h [new file with mode: 0644]
include/uapi/linux/nfsd/nfsfh.h [new file with mode: 0644]
include/uapi/linux/nfsd/stats.h [new file with mode: 0644]
include/uapi/linux/sunrpc/Kbuild
include/uapi/linux/sunrpc/debug.h [new file with mode: 0644]
include/uapi/linux/wimax/Kbuild
include/uapi/linux/wimax/i2400m.h [new file with mode: 0644]
include/uapi/xen/Kbuild
include/uapi/xen/evtchn.h [new file with mode: 0644]
include/uapi/xen/privcmd.h [new file with mode: 0644]
include/xen/Kbuild
include/xen/evtchn.h [deleted file]
include/xen/privcmd.h [deleted file]
init/do_mounts.c
init/do_mounts_initrd.c
init/main.c
ipc/mqueue.c
kernel/acct.c
kernel/audit.h
kernel/audit_watch.c
kernel/auditfilter.c
kernel/auditsc.c
kernel/debug/debug_core.c
kernel/debug/kdb/kdb_bt.c
kernel/debug/kdb/kdb_io.c
kernel/debug/kdb/kdb_main.c
kernel/events/core.c
kernel/kmod.c
kernel/kthread.c
mm/swapfile.c
net/bridge/br_netfilter.c
net/core/pktgen.c
net/core/utils.c
net/ipv4/ip_vti.c
net/ipv4/route.c
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c
net/mac80211/mesh_sync.c
net/mac80211/status.c
net/mac80211/tx.c
net/sunrpc/svc_xprt.c
net/sunrpc/svcsock.c
net/sunrpc/xprtrdma/svc_rdma_transport.c
tools/perf/Makefile
tools/perf/bash_completion
tools/perf/builtin-buildid-cache.c
tools/perf/builtin-buildid-list.c
tools/perf/builtin-diff.c
tools/perf/builtin-evlist.c
tools/perf/builtin-help.c
tools/perf/builtin-inject.c
tools/perf/builtin-kmem.c
tools/perf/builtin-kvm.c
tools/perf/builtin-lock.c
tools/perf/builtin-probe.c
tools/perf/builtin-record.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-timechart.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/perf.c
tools/perf/ui/browsers/hists.c
tools/perf/ui/gtk/browser.c
tools/perf/ui/gtk/util.c
tools/perf/ui/helpline.h
tools/perf/ui/hist.c
tools/perf/ui/setup.c
tools/perf/ui/stdio/hist.c
tools/perf/util/annotate.h
tools/perf/util/cache.h
tools/perf/util/debug.c
tools/perf/util/debug.h
tools/perf/util/evlist.c
tools/perf/util/evlist.h
tools/perf/util/generate-cmdlist.sh
tools/perf/util/hist.c
tools/perf/util/hist.h
tools/perf/util/include/linux/rbtree_augmented.h [new file with mode: 0644]
tools/perf/util/map.c
tools/perf/util/parse-options.c
tools/perf/util/parse-options.h
tools/perf/util/path.c
tools/perf/util/perf_regs.h
tools/perf/util/sort.h
tools/perf/util/symbol.h
tools/perf/util/unwind.h
tools/perf/util/util.c
tools/power/acpi/acpidump.c

index 469d09c02f6b7257e28160e63b56fba9ce50669a..50e2a80ea28ff496daf775dd9624934641dd2ea5 100644 (file)
@@ -9,19 +9,19 @@ Attributes:
                          this value will change the dev_loss_tmo for all
                          FCFs discovered by this controller.
 
-       lesb_link_fail:   Link Error Status Block (LESB) link failure count.
+       lesb/link_fail:   Link Error Status Block (LESB) link failure count.
 
-       lesb_vlink_fail:  Link Error Status Block (LESB) virtual link
+       lesb/vlink_fail:  Link Error Status Block (LESB) virtual link
                          failure count.
 
-       lesb_miss_fka:    Link Error Status Block (LESB) missed FCoE
+       lesb/miss_fka:    Link Error Status Block (LESB) missed FCoE
                          Initialization Protocol (FIP) Keep-Alives (FKA).
 
-       lesb_symb_err:    Link Error Status Block (LESB) symbolic error count.
+       lesb/symb_err:    Link Error Status Block (LESB) symbolic error count.
 
-       lesb_err_block:   Link Error Status Block (LESB) block error count.
+       lesb/err_block:   Link Error Status Block (LESB) block error count.
 
-       lesb_fcs_error:   Link Error Status Block (LESB) Fibre Channel
+       lesb/fcs_error:   Link Error Status Block (LESB) Fibre Channel
                          Serivces error count.
 
 Notes: ctlr_X (global increment starting at 0)
index 1c184495716697610d4bb41e1dde3ab60dce9e51..728c38c242d631b88117958360c6f8441a72be4b 100644 (file)
@@ -132,3 +132,12 @@ Here we can see the RAID type is raid4, there are 5 devices - all of
 which are 'A'live, and the array is 2/490221568 complete with recovery.
 Faulty or missing devices are marked 'D'.  Devices that are out-of-sync
 are marked 'a'.
+
+
+Version History
+---------------
+1.0.0  Initial version.  Support for RAID 4/5/6
+1.1.0  Added support for RAID 1
+1.2.0  Handle creation of arrays that contain failed devices.
+1.3.0  Added support for RAID 10
+1.3.1  Allow device replacement/rebuild for RAID 10
diff --git a/Documentation/filesystems/nfs/nfsd-admin-interfaces.txt b/Documentation/filesystems/nfs/nfsd-admin-interfaces.txt
new file mode 100644 (file)
index 0000000..56a96fb
--- /dev/null
@@ -0,0 +1,41 @@
+Administrative interfaces for nfsd
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Note that normally these interfaces are used only by the utilities in
+nfs-utils.
+
+nfsd is controlled mainly by pseudofiles under the "nfsd" filesystem,
+which is normally mounted at /proc/fs/nfsd/.
+
+The server is always started by the first write of a nonzero value to
+nfsd/threads.
+
+Before doing that, NFSD can be told which sockets to listen on by
+writing to nfsd/portlist; that write may be:
+
+       - an ascii-encoded file descriptor, which should refer to a
+         bound (and listening, for tcp) socket, or
+       - "transportname port", where transportname is currently either
+         "udp", "tcp", or "rdma".
+
+If nfsd is started without doing any of these, then it will create one
+udp and one tcp listener at port 2049 (see nfsd_init_socks).
+
+On startup, nfsd and lockd grace periods start.
+
+nfsd is shut down by a write of 0 to nfsd/threads.  All locks and state
+are thrown away at that point.
+
+Between startup and shutdown, the number of threads may be adjusted up
+or down by additional writes to nfsd/threads or by writes to
+nfsd/pool_threads.
+
+For more detail about files under nfsd/ and what they control, see
+fs/nfsd/nfsctl.c; most of them have detailed comments.
+
+Implementation notes
+^^^^^^^^^^^^^^^^^^^^
+
+Note that the rpc server requires the caller to serialize addition and
+removal of listening sockets, and startup and shutdown of the server.
+For nfsd this is done using nfsd_mutex.
diff --git a/Documentation/hwmon/exynos4_tmu b/Documentation/hwmon/exynos4_tmu
deleted file mode 100644 (file)
index c3c6b41..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-Kernel driver exynos4_tmu
-=================
-
-Supported chips:
-* ARM SAMSUNG EXYNOS4 series of SoC
-  Prefix: 'exynos4-tmu'
-  Datasheet: Not publicly available
-
-Authors: Donggeun Kim <dg77.kim@samsung.com>
-
-Description
------------
-
-This driver allows to read temperature inside SAMSUNG EXYNOS4 series of SoC.
-
-The chip only exposes the measured 8-bit temperature code value
-through a register.
-Temperature can be taken from the temperature code.
-There are three equations converting from temperature to temperature code.
-
-The three equations are:
-  1. Two point trimming
-       Tc = (T - 25) * (TI2 - TI1) / (85 - 25) + TI1
-
-  2. One point trimming
-       Tc = T + TI1 - 25
-
-  3. No trimming
-       Tc = T + 50
-
-  Tc: Temperature code, T: Temperature,
-  TI1: Trimming info for 25 degree Celsius (stored at TRIMINFO register)
-       Temperature code measured at 25 degree Celsius which is unchanged
-  TI2: Trimming info for 85 degree Celsius (stored at TRIMINFO register)
-       Temperature code measured at 85 degree Celsius which is unchanged
-
-TMU(Thermal Management Unit) in EXYNOS4 generates interrupt
-when temperature exceeds pre-defined levels.
-The maximum number of configurable threshold is four.
-The threshold levels are defined as follows:
-  Level_0: current temperature > trigger_level_0 + threshold
-  Level_1: current temperature > trigger_level_1 + threshold
-  Level_2: current temperature > trigger_level_2 + threshold
-  Level_3: current temperature > trigger_level_3 + threshold
-
-  The threshold and each trigger_level are set
-  through the corresponding registers.
-
-When an interrupt occurs, this driver notify user space of
-one of four threshold levels for the interrupt
-through kobject_uevent_env and sysfs_notify functions.
-Although an interrupt condition for level_0 can be set,
-it is not notified to user space through sysfs_notify function.
-
-Sysfs Interface
----------------
-name           name of the temperature sensor
-               RO
-
-temp1_input    temperature
-               RO
-
-temp1_max      temperature for level_1 interrupt
-               RO
-
-temp1_crit     temperature for level_2 interrupt
-               RO
-
-temp1_emergency        temperature for level_3 interrupt
-               RO
-
-temp1_max_alarm        alarm for level_1 interrupt
-               RO
-
-temp1_crit_alarm
-               alarm for level_2 interrupt
-               RO
-
-temp1_emergency_alarm
-               alarm for level_3 interrupt
-               RO
index 3a3079411a3dc953c59cb75b8391906b2fb74df3..da03146c182ae39dbbe757955faae1c01ae1a0a1 100644 (file)
@@ -1,3 +1,16 @@
+Release Date    : Mon. Oct 1, 2012 17:00:00 PST 2012 -
+                       (emaild-id:megaraidlinux@lsi.com)
+                       Adam Radford
+Current Version : 06.504.01.00-rc1
+Old Version     : 00.00.06.18-rc1
+    1. Removed un-needed completion_lock spinlock calls.
+    2. Add module param for configurable MSI-X vector count.
+    3. Load io_request DataLength in bytes.
+    4. Add array boundary check for SystemPD.
+    5. Add SystemPD FastPath support.
+    6. Remove duplicate code.
+    7. Version, Changelog, Copyright update.
+-------------------------------------------------------------------------------
 Release Date    : Tue. Jun 17, 2012 17:00:00 PST 2012 -
                        (emaild-id:megaraidlinux@lsi.com)
                        Adam Radford/Kashyap Desai
diff --git a/Documentation/thermal/cpu-cooling-api.txt b/Documentation/thermal/cpu-cooling-api.txt
new file mode 100644 (file)
index 0000000..fca24c9
--- /dev/null
@@ -0,0 +1,32 @@
+CPU cooling APIs How To
+===================================
+
+Written by Amit Daniel Kachhap <amit.kachhap@linaro.org>
+
+Updated: 12 May 2012
+
+Copyright (c)  2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
+
+0. Introduction
+
+The generic cpu cooling(freq clipping) provides registration/unregistration APIs
+to the caller. The binding of the cooling devices to the trip point is left for
+the user. The registration APIs returns the cooling device pointer.
+
+1. cpu cooling APIs
+
+1.1 cpufreq registration/unregistration APIs
+1.1.1 struct thermal_cooling_device *cpufreq_cooling_register(
+       struct cpumask *clip_cpus)
+
+    This interface function registers the cpufreq cooling device with the name
+    "thermal-cpufreq-%x". This api can support multiple instances of cpufreq
+    cooling devices.
+
+   clip_cpus: cpumask of cpus where the frequency constraints will happen.
+
+1.1.2 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
+
+    This interface function unregisters the "thermal-cpufreq-%x" cooling device.
+
+    cdev: Cooling device pointer which has to be unregistered.
diff --git a/Documentation/thermal/exynos_thermal b/Documentation/thermal/exynos_thermal
new file mode 100644 (file)
index 0000000..2b46f67
--- /dev/null
@@ -0,0 +1,52 @@
+Kernel driver exynos4_tmu
+=================
+
+Supported chips:
+* ARM SAMSUNG EXYNOS4 series of SoC
+  Prefix: 'exynos4-tmu'
+  Datasheet: Not publicly available
+
+Authors: Donggeun Kim <dg77.kim@samsung.com>
+
+Description
+-----------
+
+This driver allows to read temperature inside SAMSUNG EXYNOS4 series of SoC.
+
+The chip only exposes the measured 8-bit temperature code value
+through a register.
+Temperature can be taken from the temperature code.
+There are three equations converting from temperature to temperature code.
+
+The three equations are:
+  1. Two point trimming
+       Tc = (T - 25) * (TI2 - TI1) / (85 - 25) + TI1
+
+  2. One point trimming
+       Tc = T + TI1 - 25
+
+  3. No trimming
+       Tc = T + 50
+
+  Tc: Temperature code, T: Temperature,
+  TI1: Trimming info for 25 degree Celsius (stored at TRIMINFO register)
+       Temperature code measured at 25 degree Celsius which is unchanged
+  TI2: Trimming info for 85 degree Celsius (stored at TRIMINFO register)
+       Temperature code measured at 85 degree Celsius which is unchanged
+
+TMU(Thermal Management Unit) in EXYNOS4 generates interrupt
+when temperature exceeds pre-defined levels.
+The maximum number of configurable threshold is four.
+The threshold levels are defined as follows:
+  Level_0: current temperature > trigger_level_0 + threshold
+  Level_1: current temperature > trigger_level_1 + threshold
+  Level_2: current temperature > trigger_level_2 + threshold
+  Level_3: current temperature > trigger_level_3 + threshold
+
+  The threshold and each trigger_level are set
+  through the corresponding registers.
+
+When an interrupt occurs, this driver notify kernel thermal framework
+with the function exynos4_report_trigger.
+Although an interrupt condition for level_0 can be set,
+it can be used to synchronize the cooling action.
index c087dbcf3535c2be5da5db5f8feeefaeaea9c88d..ca1a1a34970eae5dc8ddcc8d1d383e2d42be66ae 100644 (file)
@@ -84,7 +84,8 @@ temperature) and throttle appropriate devices.
 
 1.3 interface for binding a thermal zone device with a thermal cooling device
 1.3.1 int thermal_zone_bind_cooling_device(struct thermal_zone_device *tz,
-               int trip, struct thermal_cooling_device *cdev);
+       int trip, struct thermal_cooling_device *cdev,
+       unsigned long upper, unsigned long lower);
 
     This interface function bind a thermal cooling device to the certain trip
     point of a thermal zone device.
@@ -93,6 +94,12 @@ temperature) and throttle appropriate devices.
     cdev: thermal cooling device
     trip: indicates which trip point the cooling devices is associated with
          in this thermal zone.
+    upper:the Maximum cooling state for this trip point.
+          THERMAL_NO_LIMIT means no upper limit,
+         and the cooling device can be in max_state.
+    lower:the Minimum cooling state can be used for this trip point.
+          THERMAL_NO_LIMIT means no lower limit,
+         and the cooling device can be in cooling state 0.
 
 1.3.2 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *tz,
                int trip, struct thermal_cooling_device *cdev);
index 26a28419cafcc400afb7300c702687b8d2dc103e..a79a1ad8bb960a1d2aead851018fd2496c231d12 100644 (file)
@@ -274,6 +274,9 @@ config ARCH_WANT_OLD_COMPAT_IPC
 config GENERIC_KERNEL_THREAD
        bool
 
+config GENERIC_KERNEL_EXECVE
+       bool
+
 config HAVE_ARCH_SECCOMP_FILTER
        bool
        help
index 7da91246e2793c6d8ecf5556ca65530c6c7275c0..7a08cfb80ee8319887ea4005e5eaa7da2f174c78 100644 (file)
@@ -21,6 +21,7 @@ config ALPHA
        select GENERIC_STRNCPY_FROM_USER
        select GENERIC_STRNLEN_USER
        select GENERIC_KERNEL_THREAD
+       select GENERIC_KERNEL_EXECVE
        help
          The Alpha is a 64-bit general-purpose processor designed and
          marketed by the Digital Equipment Corporation of blessed memory,
index 3cb6c1188984f0e9de8816d420a9a9e55fe1f93d..7826e227e4d09003ffb230c1596143f74539d607 100644 (file)
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_EXECVE
-#define __ARCH_WANT_KERNEL_EXECVE
 
 /* "Conditional" syscalls.  What we want is
 
index 2a359c9ee3cd88a341550c57f34177288ee61ecd..a7607832dd4ff66236b06a8010fb50f9ecd02bdd 100644 (file)
@@ -311,7 +311,7 @@ entSys:
 
        .align  4
 ret_from_sys_call:
-       cmovne  $26, 0, $19             /* $19 = 0 => non-restartable */
+       cmovne  $26, 0, $18             /* $18 = 0 => non-restartable */
        ldq     $0, SP_OFF($sp)
        and     $0, 8, $0
        beq     $0, ret_to_kernel
@@ -320,8 +320,8 @@ ret_to_user:
                sampling and the rti.  */
        lda     $16, 7
        call_pal PAL_swpipl
-       ldl     $5, TI_FLAGS($8)
-       and     $5, _TIF_WORK_MASK, $2
+       ldl     $17, TI_FLAGS($8)
+       and     $17, _TIF_WORK_MASK, $2
        bne     $2, work_pending
 restore_all:
        RESTORE_ALL
@@ -341,10 +341,10 @@ $syscall_error:
         * frame to indicate that a negative return value wasn't an
         * error number..
         */
-       ldq     $19, 0($sp)     /* old syscall nr (zero if success) */
-       beq     $19, $ret_success
+       ldq     $18, 0($sp)     /* old syscall nr (zero if success) */
+       beq     $18, $ret_success
 
-       ldq     $20, 72($sp)    /* .. and this a3 */
+       ldq     $19, 72($sp)    /* .. and this a3 */
        subq    $31, $0, $0     /* with error in v0 */
        addq    $31, 1, $1      /* set a3 for errno return */
        stq     $0, 0($sp)
@@ -362,51 +362,35 @@ $ret_success:
  * Do all cleanup when returning from all interrupts and system calls.
  *
  * Arguments:
- *       $5: TI_FLAGS.
  *       $8: current.
- *      $19: The old syscall number, or zero if this is not a return
+ *      $17: TI_FLAGS.
+ *      $18: The old syscall number, or zero if this is not a return
  *           from a syscall that errored and is possibly restartable.
- *      $20: The old a3 value
+ *      $19: The old a3 value
  */
 
        .align  4
        .ent    work_pending
 work_pending:
-       and     $5, _TIF_NEED_RESCHED, $2
-       beq     $2, $work_notifysig
+       and     $17, _TIF_NOTIFY_RESUME | _TIF_SIGPENDING, $2
+       bne     $2, $work_notifysig
 
 $work_resched:
-       subq    $sp, 16, $sp
-       stq     $19, 0($sp)              /* save syscall nr */
-       stq     $20, 8($sp)              /* and error indication (a3) */
+       /*
+        * We can get here only if we returned from syscall without SIGPENDING
+        * or got through work_notifysig already.  Either case means no syscall
+        * restarts for us, so let $18 and $19 burn.
+        */
        jsr     $26, schedule
-       ldq     $19, 0($sp)
-       ldq     $20, 8($sp)
-       addq    $sp, 16, $sp
-       /* Make sure need_resched and sigpending don't change between
-               sampling and the rti.  */
-       lda     $16, 7
-       call_pal PAL_swpipl
-       ldl     $5, TI_FLAGS($8)
-       and     $5, _TIF_WORK_MASK, $2
-       beq     $2, restore_all
-       and     $5, _TIF_NEED_RESCHED, $2
-       bne     $2, $work_resched
+       mov     0, $18
+       br      ret_to_user
 
 $work_notifysig:
        mov     $sp, $16
        bsr     $1, do_switch_stack
-       mov     $sp, $17
-       mov     $5, $18
-       mov     $19, $9         /* save old syscall number */
-       mov     $20, $10        /* save old a3 */
-       and     $5, _TIF_SIGPENDING, $2
-       cmovne  $2, 0, $9       /* we don't want double syscall restarts */
-       jsr     $26, do_notify_resume
-       mov     $9, $19
-       mov     $10, $20
+       jsr     $26, do_work_pending
        bsr     $1, undo_switch_stack
-       br      ret_to_user
+       br      restore_all
 .end work_pending
 
 /*
@@ -454,9 +438,9 @@ $strace_success:
 
        .align  3
 $strace_error:
-       ldq     $19, 0($sp)     /* old syscall nr (zero if success) */
-       beq     $19, $strace_success
-       ldq     $20, 72($sp)    /* .. and this a3 */
+       ldq     $18, 0($sp)     /* old syscall nr (zero if success) */
+       beq     $18, $strace_success
+       ldq     $19, 72($sp)    /* .. and this a3 */
 
        subq    $31, $0, $0     /* with error in v0 */
        addq    $31, 1, $1      /* set a3 for errno return */
@@ -464,11 +448,11 @@ $strace_error:
        stq     $1, 72($sp)     /* a3 for return */
 
        bsr     $1, do_switch_stack
-       mov     $19, $9         /* save old syscall number */
-       mov     $20, $10        /* save old a3 */
+       mov     $18, $9         /* save old syscall number */
+       mov     $19, $10        /* save old a3 */
        jsr     $26, syscall_trace_leave
-       mov     $9, $19
-       mov     $10, $20
+       mov     $9, $18
+       mov     $10, $19
        bsr     $1, undo_switch_stack
 
        mov     $31, $26        /* tell "ret_from_sys_call" we can restart */
@@ -619,24 +603,9 @@ ret_from_kernel_thread:
        mov     $9, $27
        mov     $10, $16
        jsr     $26, ($9)
-       ldgp    $gp, 0($26)
-       mov     $0, $16
-       mov     $31, $26
-       jmp     $31, sys_exit
-.end ret_from_kernel_thread
-
-       .globl  ret_from_kernel_execve
-       .align  4
-       .ent    ret_from_kernel_execve
-ret_from_kernel_execve:
-       mov     $16, $sp
-       /* Avoid the HAE being gratuitously wrong, to avoid restoring it.  */
-       ldq     $2, alpha_mv+HAE_CACHE
-       stq     $2, 152($sp)            /* HAE */
        mov     $31, $19                /* to disable syscall restarts */
        br      $31, ret_to_user
-
-.end   ret_from_kernel_execve
+.end ret_from_kernel_thread
 
 \f
 /*
index 63e77e3944ced280724c964b7690502341383695..9eb090582cf1eb2c557e03025bafc73846fde02f 100644 (file)
@@ -449,7 +449,7 @@ osf_ufs_mount(char *dirname, struct ufs_args __user *args, int flags)
 {
        int retval;
        struct cdfs_args tmp;
-       char *devname;
+       struct filename *devname;
 
        retval = -EFAULT;
        if (copy_from_user(&tmp, args, sizeof(tmp)))
@@ -458,7 +458,7 @@ osf_ufs_mount(char *dirname, struct ufs_args __user *args, int flags)
        retval = PTR_ERR(devname);
        if (IS_ERR(devname))
                goto out;
-       retval = do_mount(devname, dirname, "ext2", flags, NULL);
+       retval = do_mount(devname->name, dirname, "ext2", flags, NULL);
        putname(devname);
  out:
        return retval;
@@ -469,7 +469,7 @@ osf_cdfs_mount(char *dirname, struct cdfs_args __user *args, int flags)
 {
        int retval;
        struct cdfs_args tmp;
-       char *devname;
+       struct filename *devname;
 
        retval = -EFAULT;
        if (copy_from_user(&tmp, args, sizeof(tmp)))
@@ -478,7 +478,7 @@ osf_cdfs_mount(char *dirname, struct cdfs_args __user *args, int flags)
        retval = PTR_ERR(devname);
        if (IS_ERR(devname))
                goto out;
-       retval = do_mount(devname, dirname, "iso9660", flags, NULL);
+       retval = do_mount(devname->name, dirname, "iso9660", flags, NULL);
        putname(devname);
  out:
        return retval;
@@ -499,7 +499,7 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path,
                int, flag, void __user *, data)
 {
        int retval;
-       char *name;
+       struct filename *name;
 
        name = getname(path);
        retval = PTR_ERR(name);
@@ -507,13 +507,13 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path,
                goto out;
        switch (typenr) {
        case 1:
-               retval = osf_ufs_mount(name, data, flag);
+               retval = osf_ufs_mount(name->name, data, flag);
                break;
        case 6:
-               retval = osf_cdfs_mount(name, data, flag);
+               retval = osf_cdfs_mount(name->name, data, flag);
                break;
        case 9:
-               retval = osf_procfs_mount(name, data, flag);
+               retval = osf_procfs_mount(name->name, data, flag);
                break;
        default:
                retval = -EINVAL;
index a8c97d42ec8eaef9215c32a40f743bd94505bc55..32575f85507d1a74d84198799dab405e07c94369 100644 (file)
@@ -298,8 +298,9 @@ get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size)
 
 static long
 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, 
-                struct switch_stack *sw, unsigned long mask, unsigned long sp)
+                unsigned long mask, unsigned long sp)
 {
+       struct switch_stack *sw = (struct switch_stack *)regs - 1;
        long i, err = 0;
 
        err |= __put_user(on_sig_stack((unsigned long)sc), &sc->sc_onstack);
@@ -354,7 +355,7 @@ setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
 
 static int
 setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
-           struct pt_regs *regs, struct switch_stack * sw)
+           struct pt_regs *regs)
 {
        unsigned long oldsp, r26, err = 0;
        struct sigframe __user *frame;
@@ -364,7 +365,7 @@ setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
        if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame)))
                return -EFAULT;
 
-       err |= setup_sigcontext(&frame->sc, regs, sw, set->sig[0], oldsp);
+       err |= setup_sigcontext(&frame->sc, regs, set->sig[0], oldsp);
        if (err)
                return -EFAULT;
 
@@ -401,7 +402,7 @@ setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
 
 static int
 setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
-              sigset_t *set, struct pt_regs *regs, struct switch_stack * sw)
+              sigset_t *set, struct pt_regs *regs)
 {
        unsigned long oldsp, r26, err = 0;
        struct rt_sigframe __user *frame;
@@ -420,7 +421,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
        err |= __put_user(current->sas_ss_sp, &frame->uc.uc_stack.ss_sp);
        err |= __put_user(sas_ss_flags(oldsp), &frame->uc.uc_stack.ss_flags);
        err |= __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size);
-       err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, sw,
+       err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, 
                                set->sig[0], oldsp);
        err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set));
        if (err)
@@ -464,15 +465,15 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
  */
 static inline void
 handle_signal(int sig, struct k_sigaction *ka, siginfo_t *info,
-             struct pt_regs * regs, struct switch_stack *sw)
+             struct pt_regs * regs)
 {
        sigset_t *oldset = sigmask_to_save();
        int ret;
 
        if (ka->sa.sa_flags & SA_SIGINFO)
-               ret = setup_rt_frame(sig, ka, info, oldset, regs, sw);
+               ret = setup_rt_frame(sig, ka, info, oldset, regs);
        else
-               ret = setup_frame(sig, ka, oldset, regs, sw);
+               ret = setup_frame(sig, ka, oldset, regs);
 
        if (ret) {
                force_sigsegv(sig, current);
@@ -519,8 +520,7 @@ syscall_restart(unsigned long r0, unsigned long r19,
  * all (if we get here from anything but a syscall return, it will be 0)
  */
 static void
-do_signal(struct pt_regs * regs, struct switch_stack * sw,
-         unsigned long r0, unsigned long r19)
+do_signal(struct pt_regs *regs, unsigned long r0, unsigned long r19)
 {
        siginfo_t info;
        int signr;
@@ -537,7 +537,7 @@ do_signal(struct pt_regs * regs, struct switch_stack * sw,
                /* Whee!  Actually deliver the signal.  */
                if (r0)
                        syscall_restart(r0, r19, regs, &ka);
-               handle_signal(signr, &ka, &info, regs, sw);
+               handle_signal(signr, &ka, &info, regs);
                if (single_stepping) 
                        ptrace_set_bpt(current); /* re-set bpt */
                return;
@@ -568,15 +568,23 @@ do_signal(struct pt_regs * regs, struct switch_stack * sw,
 }
 
 void
-do_notify_resume(struct pt_regs *regs, struct switch_stack *sw,
-                unsigned long thread_info_flags,
+do_work_pending(struct pt_regs *regs, unsigned long thread_flags,
                 unsigned long r0, unsigned long r19)
 {
-       if (thread_info_flags & _TIF_SIGPENDING)
-               do_signal(regs, sw, r0, r19);
-
-       if (thread_info_flags & _TIF_NOTIFY_RESUME) {
-               clear_thread_flag(TIF_NOTIFY_RESUME);
-               tracehook_notify_resume(regs);
-       }
+       do {
+               if (thread_flags & _TIF_NEED_RESCHED) {
+                       schedule();
+               } else {
+                       local_irq_enable();
+                       if (thread_flags & _TIF_SIGPENDING) {
+                               do_signal(regs, r0, r19);
+                               r0 = 0;
+                       } else {
+                               clear_thread_flag(TIF_NOTIFY_RESUME);
+                               tracehook_notify_resume(regs);
+                       }
+               }
+               local_irq_disable();
+               thread_flags = current_thread_info()->flags;
+       } while (thread_flags & _TIF_WORK_MASK);
 }
index 767aae8277fa1f107e0384976dfbe2eb42897d06..431c3753145a49c99bc144f63331f625fab22863 100644 (file)
@@ -53,6 +53,7 @@ config ARM
        select GENERIC_STRNLEN_USER
        select DCACHE_WORD_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && !CPU_BIG_ENDIAN
        select GENERIC_KERNEL_THREAD
+       select GENERIC_KERNEL_EXECVE
        help
          The ARM series is a line of low-power-consumption RISC chip designs
          licensed by ARM Ltd and targeted at embedded applications and
index f259921edfe9a124ee68169a3455f35b45cdde8f..91819ad544242dc61706053cdff4dcb296e0a4f1 100644 (file)
 #define __ARCH_WANT_SYS_SOCKETCALL
 #endif
 #define __ARCH_WANT_SYS_EXECVE
-#define __ARCH_WANT_KERNEL_EXECVE
 
 /*
  * "Conditional" syscalls
index e340fa1db203ea0dd5d78ca9a2e19e7cacf2395e..417bac1846bdeb71dc475bfe7bee3e729623caa4 100644 (file)
@@ -86,35 +86,14 @@ ENDPROC(ret_to_user)
  */
 ENTRY(ret_from_fork)
        bl      schedule_tail
+       cmp     r5, #0
+       movne   r0, r4
+       movne   lr, pc
+       movne   pc, r5
        get_thread_info tsk
-       mov     why, #1
        b       ret_slow_syscall
 ENDPROC(ret_from_fork)
 
-ENTRY(ret_from_kernel_thread)
- UNWIND(.fnstart)
- UNWIND(.cantunwind)
-       bl      schedule_tail
-       mov     r0, r4
-       adr     lr, BSYM(1f)    @ kernel threads should not exit
-       mov     pc, r5
-1:     bl      do_exit
-       nop
- UNWIND(.fnend)
-ENDPROC(ret_from_kernel_thread)
-
-/*
- * turn a kernel thread into userland process
- * use: ret_from_kernel_execve(struct pt_regs *normal)
- */
-ENTRY(ret_from_kernel_execve)
-       mov     why, #0                 @ not a syscall
-       str     why, [r0, #S_R0]        @ ... and we want 0 in ->ARM_r0 as well
-       get_thread_info tsk             @ thread structure
-       mov     sp, r0                  @ stack pointer just under pt_regs
-       b       ret_slow_syscall
-ENDPROC(ret_from_kernel_execve)
-
        .equ NR_syscalls,0
 #define CALL(x) .equ NR_syscalls,NR_syscalls+1
 #include "calls.S"
index f98c17ff1957cc921c1e7a7459802f03e539a8de..90084a6de35a75ede68e451a4f521e3a4174fc92 100644 (file)
@@ -373,7 +373,6 @@ void release_thread(struct task_struct *dead_task)
 }
 
 asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
-asmlinkage void ret_from_kernel_thread(void) __asm__("ret_from_kernel_thread");
 
 int
 copy_thread(unsigned long clone_flags, unsigned long stack_start,
@@ -388,13 +387,13 @@ copy_thread(unsigned long clone_flags, unsigned long stack_start,
                *childregs = *regs;
                childregs->ARM_r0 = 0;
                childregs->ARM_sp = stack_start;
-               thread->cpu_context.pc = (unsigned long)ret_from_fork;
        } else {
+               memset(childregs, 0, sizeof(struct pt_regs));
                thread->cpu_context.r4 = stk_sz;
                thread->cpu_context.r5 = stack_start;
-               thread->cpu_context.pc = (unsigned long)ret_from_kernel_thread;
                childregs->ARM_cpsr = SVC_MODE;
        }
+       thread->cpu_context.pc = (unsigned long)ret_from_fork;
        thread->cpu_context.sp = (unsigned long)childregs;
 
        clear_ptrace_hw_breakpoint(p);
index 35924a542d4334358e9527d040f35e78e495cd27..fe77e51a7847bf872ebcc7cb18102d71c1b0af4a 100644 (file)
@@ -1,6 +1,4 @@
-include include/asm-generic/Kbuild.asm
 
-header-y += hwcap.h
 
 generic-y += bug.h
 generic-y += bugs.h
diff --git a/arch/arm64/include/asm/auxvec.h b/arch/arm64/include/asm/auxvec.h
deleted file mode 100644 (file)
index 22d6d88..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_AUXVEC_H
-#define __ASM_AUXVEC_H
-
-/* vDSO location */
-#define AT_SYSINFO_EHDR        33
-
-#endif
diff --git a/arch/arm64/include/asm/bitsperlong.h b/arch/arm64/include/asm/bitsperlong.h
deleted file mode 100644 (file)
index fce9c29..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_BITSPERLONG_H
-#define __ASM_BITSPERLONG_H
-
-#define __BITS_PER_LONG 64
-
-#include <asm-generic/bitsperlong.h>
-
-#endif /* __ASM_BITSPERLONG_H */
diff --git a/arch/arm64/include/asm/byteorder.h b/arch/arm64/include/asm/byteorder.h
deleted file mode 100644 (file)
index 2b92046..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_BYTEORDER_H
-#define __ASM_BYTEORDER_H
-
-#include <linux/byteorder/little_endian.h>
-
-#endif /* __ASM_BYTEORDER_H */
diff --git a/arch/arm64/include/asm/fcntl.h b/arch/arm64/include/asm/fcntl.h
deleted file mode 100644 (file)
index cd2e630..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_FCNTL_H
-#define __ASM_FCNTL_H
-
-/*
- * Using our own definitions for AArch32 (compat) support.
- */
-#define O_DIRECTORY     040000 /* must be a directory */
-#define O_NOFOLLOW     0100000 /* don't follow links */
-#define O_DIRECT       0200000 /* direct disk access hint - currently ignored */
-#define O_LARGEFILE    0400000
-
-#include <asm-generic/fcntl.h>
-
-#endif
index db05f97661127ef5c16a0ab9c7c42794a1cee8f1..6d4482fa35bcbc183bf64d9239a4a5a87bb86705 100644 (file)
 #ifndef __ASM_HWCAP_H
 #define __ASM_HWCAP_H
 
-/*
- * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP
- */
-#define HWCAP_FP               (1 << 0)
-#define HWCAP_ASIMD            (1 << 1)
+#include <uapi/asm/hwcap.h>
 
 #define COMPAT_HWCAP_HALF      (1 << 1)
 #define COMPAT_HWCAP_THUMB     (1 << 2)
@@ -35,7 +31,6 @@
 #define COMPAT_HWCAP_IDIVT     (1 << 18)
 #define COMPAT_HWCAP_IDIV      (COMPAT_HWCAP_IDIVA|COMPAT_HWCAP_IDIVT)
 
-#ifdef __KERNEL__
 #ifndef __ASSEMBLY__
 /*
  * This yields a mask that user programs can use to figure out what
@@ -51,5 +46,3 @@
 extern unsigned int elf_hwcap;
 #endif
 #endif
-
-#endif
diff --git a/arch/arm64/include/asm/param.h b/arch/arm64/include/asm/param.h
deleted file mode 100644 (file)
index 8e3a281..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_PARAM_H
-#define __ASM_PARAM_H
-
-#define EXEC_PAGESIZE  65536
-
-#include <asm-generic/param.h>
-
-#endif
index 0fa5d6c9ef76ad87ca1e28690c0cb7c49dee30c0..b04d3404f0d1e4426e34553afe883dce562c4481 100644 (file)
@@ -19,9 +19,7 @@
 #ifndef __ASM_PTRACE_H
 #define __ASM_PTRACE_H
 
-#include <linux/types.h>
-
-#include <asm/hwcap.h>
+#include <uapi/asm/ptrace.h>
 
 /* AArch32-specific ptrace requests */
 #define COMPAT_PTRACE_GETREGS          12
 #define COMPAT_PTRACE_SETVFPREGS       28
 #define COMPAT_PTRACE_GETHBPREGS       29
 #define COMPAT_PTRACE_SETHBPREGS       30
-
-/*
- * PSR bits
- */
-#define PSR_MODE_EL0t  0x00000000
-#define PSR_MODE_EL1t  0x00000004
-#define PSR_MODE_EL1h  0x00000005
-#define PSR_MODE_EL2t  0x00000008
-#define PSR_MODE_EL2h  0x00000009
-#define PSR_MODE_EL3t  0x0000000c
-#define PSR_MODE_EL3h  0x0000000d
-#define PSR_MODE_MASK  0x0000000f
-
-/* AArch32 CPSR bits */
-#define PSR_MODE32_BIT         0x00000010
 #define COMPAT_PSR_MODE_USR    0x00000010
 #define COMPAT_PSR_T_BIT       0x00000020
 #define COMPAT_PSR_IT_MASK     0x0600fc00      /* If-Then execution state mask */
-
-/* AArch64 SPSR bits */
-#define PSR_F_BIT      0x00000040
-#define PSR_I_BIT      0x00000080
-#define PSR_A_BIT      0x00000100
-#define PSR_D_BIT      0x00000200
-#define PSR_Q_BIT      0x08000000
-#define PSR_V_BIT      0x10000000
-#define PSR_C_BIT      0x20000000
-#define PSR_Z_BIT      0x40000000
-#define PSR_N_BIT      0x80000000
-
-/*
- * Groups of PSR bits
- */
-#define PSR_f          0xff000000      /* Flags                */
-#define PSR_s          0x00ff0000      /* Status               */
-#define PSR_x          0x0000ff00      /* Extension            */
-#define PSR_c          0x000000ff      /* Control              */
-
 /*
  * These are 'magic' values for PTRACE_PEEKUSR that return info about where a
  * process is located in memory.
  */
-#define PT_TEXT_ADDR           0x10000
-#define PT_DATA_ADDR           0x10004
-#define PT_TEXT_END_ADDR       0x10008
-
+#define COMPAT_PT_TEXT_ADDR            0x10000
+#define COMPAT_PT_DATA_ADDR            0x10004
+#define COMPAT_PT_TEXT_END_ADDR                0x10008
 #ifndef __ASSEMBLY__
 
-/*
- * User structures for general purpose, floating point and debug registers.
- */
-struct user_pt_regs {
-       __u64           regs[31];
-       __u64           sp;
-       __u64           pc;
-       __u64           pstate;
-};
-
-struct user_fpsimd_state {
-       __uint128_t     vregs[32];
-       __u32           fpsr;
-       __u32           fpcr;
-};
-
-struct user_hwdebug_state {
-       __u32           dbg_info;
-       struct {
-               __u64   addr;
-               __u32   ctrl;
-       }               dbg_regs[16];
-};
-
-#ifdef __KERNEL__
-
 /* sizeof(struct user) for AArch32 */
 #define COMPAT_USER_SZ 296
 /* AArch32 uses x13 as the stack pointer... */
@@ -200,8 +136,5 @@ extern unsigned long profile_pc(struct pt_regs *regs);
 
 extern int aarch32_break_trap(struct pt_regs *regs);
 
-#endif /* __KERNEL__ */
-
 #endif /* __ASSEMBLY__ */
-
 #endif
diff --git a/arch/arm64/include/asm/setup.h b/arch/arm64/include/asm/setup.h
deleted file mode 100644 (file)
index 9cf2e46..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Based on arch/arm/include/asm/setup.h
- *
- * Copyright (C) 1997-1999 Russell King
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_SETUP_H
-#define __ASM_SETUP_H
-
-#include <linux/types.h>
-
-#define COMMAND_LINE_SIZE      2048
-
-#endif
index 573cec778819e43b11d367408dad752b955307e8..dca1094acc74c4e0047bad12096ebffb048fa2be 100644 (file)
 #ifndef __ASM_SIGCONTEXT_H
 #define __ASM_SIGCONTEXT_H
 
-#include <linux/types.h>
+#include <uapi/asm/sigcontext.h>
 
-/*
- * Signal context structure - contains all info to do with the state
- * before the signal handler was invoked.
- */
-struct sigcontext {
-       __u64 fault_address;
-       /* AArch64 registers */
-       __u64 regs[31];
-       __u64 sp;
-       __u64 pc;
-       __u64 pstate;
-       /* 4K reserved for FP/SIMD state and future expansion */
-       __u8 __reserved[4096] __attribute__((__aligned__(16)));
-};
-
-/*
- * Header to be used at the beginning of structures extending the user
- * context. Such structures must be placed after the rt_sigframe on the stack
- * and be 16-byte aligned. The last structure must be a dummy one with the
- * magic and size set to 0.
- */
-struct _aarch64_ctx {
-       __u32 magic;
-       __u32 size;
-};
-
-#define FPSIMD_MAGIC   0x46508001
-
-struct fpsimd_context {
-       struct _aarch64_ctx head;
-       __u32 fpsr;
-       __u32 fpcr;
-       __uint128_t vregs[32];
-};
-
-#ifdef __KERNEL__
 /*
  * Auxiliary context saved in the sigcontext.__reserved array. Not exported to
  * user space as it will change with the addition of new context. User space
@@ -65,5 +29,3 @@ struct aux_context {
        struct _aarch64_ctx end;
 };
 #endif
-
-#endif
diff --git a/arch/arm64/include/asm/siginfo.h b/arch/arm64/include/asm/siginfo.h
deleted file mode 100644 (file)
index 5a74a08..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_SIGINFO_H
-#define __ASM_SIGINFO_H
-
-#define __ARCH_SI_PREAMBLE_SIZE        (4 * sizeof(int))
-
-#include <asm-generic/siginfo.h>
-
-#endif
diff --git a/arch/arm64/include/asm/signal.h b/arch/arm64/include/asm/signal.h
deleted file mode 100644 (file)
index 8d1e723..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_SIGNAL_H
-#define __ASM_SIGNAL_H
-
-/* Required for AArch32 compatibility. */
-#define SA_RESTORER    0x04000000
-
-#include <asm-generic/signal.h>
-
-#endif
index a9f580c28f7ba1920d782931344b19a51b9a7ce8..15e35598ac407a99fb7d48770f00b298ee52ea0e 100644 (file)
@@ -16,9 +16,8 @@
 #ifndef __ASM_STAT_H
 #define __ASM_STAT_H
 
-#include <asm-generic/stat.h>
+#include <uapi/asm/stat.h>
 
-#ifdef __KERNEL__
 #ifdef CONFIG_COMPAT
 
 #include <asm/compat.h>
@@ -60,5 +59,3 @@ struct stat64 {
 
 #endif
 #endif
-
-#endif
diff --git a/arch/arm64/include/asm/statfs.h b/arch/arm64/include/asm/statfs.h
deleted file mode 100644 (file)
index 6f62190..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef __ASM_STATFS_H
-#define __ASM_STATFS_H
-
-#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
-
-#include <asm-generic/statfs.h>
-
-#endif
index 8f03dee066ed0a16e56b94bbe361b49372bf07d2..63f853f8b718026a69342ce8bb46ff6fd948066e 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-
-#ifndef __SYSCALL_COMPAT
-#include <asm-generic/unistd.h>
-#endif
-
-#ifdef __KERNEL__
 #ifdef CONFIG_COMPAT
-#include <asm/unistd32.h>
-#endif
+#define __ARCH_WANT_COMPAT_IPC_PARSE_VERSION
+#define __ARCH_WANT_COMPAT_STAT64
+#define __ARCH_WANT_SYS_GETHOSTNAME
+#define __ARCH_WANT_SYS_PAUSE
+#define __ARCH_WANT_SYS_GETPGRP
+#define __ARCH_WANT_SYS_LLSEEK
+#define __ARCH_WANT_SYS_NICE
+#define __ARCH_WANT_SYS_SIGPENDING
+#define __ARCH_WANT_SYS_SIGPROCMASK
+#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
+#define __ARCH_WANT_COMPAT_SYS_SENDFILE
 #endif
+#include <uapi/asm/unistd.h>
index ba42d41fc5c2398a97d5a0647067584a987cdc6b..6d909faebf28d155020ef96e17654d5ae74bed6f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Based on arch/arm/include/asm/unistd.h
+ * AArch32 (compat) system call definitions.
  *
  * Copyright (C) 2001-2005 Russell King
  * Copyright (C) 2012 ARM Ltd.
 #define __SYSCALL(x, y)
 #endif
 
+__SYSCALL(0,   sys_restart_syscall)
+__SYSCALL(1,   sys_exit)
+__SYSCALL(2,   compat_sys_fork_wrapper)
+__SYSCALL(3,   sys_read)
+__SYSCALL(4,   sys_write)
+__SYSCALL(5,   compat_sys_open)
+__SYSCALL(6,   sys_close)
+__SYSCALL(7,   sys_ni_syscall)                 /* 7 was sys_waitpid */
+__SYSCALL(8,   sys_creat)
+__SYSCALL(9,   sys_link)
+__SYSCALL(10,  sys_unlink)
+__SYSCALL(11,  compat_sys_execve_wrapper)
+__SYSCALL(12,  sys_chdir)
+__SYSCALL(13,  sys_ni_syscall)                 /* 13 was sys_time */
+__SYSCALL(14,  sys_mknod)
+__SYSCALL(15,  sys_chmod)
+__SYSCALL(16,  sys_lchown16)
+__SYSCALL(17,  sys_ni_syscall)                 /* 17 was sys_break */
+__SYSCALL(18,  sys_ni_syscall)                 /* 18 was sys_stat */
+__SYSCALL(19,  compat_sys_lseek_wrapper)
+__SYSCALL(20,  sys_getpid)
+__SYSCALL(21,  compat_sys_mount)
+__SYSCALL(22,  sys_ni_syscall)                 /* 22 was sys_umount */
+__SYSCALL(23,  sys_setuid16)
+__SYSCALL(24,  sys_getuid16)
+__SYSCALL(25,  sys_ni_syscall)                 /* 25 was sys_stime */
+__SYSCALL(26,  compat_sys_ptrace)
+__SYSCALL(27,  sys_ni_syscall)                 /* 27 was sys_alarm */
+__SYSCALL(28,  sys_ni_syscall)                 /* 28 was sys_fstat */
+__SYSCALL(29,  sys_pause)
+__SYSCALL(30,  sys_ni_syscall)                 /* 30 was sys_utime */
+__SYSCALL(31,  sys_ni_syscall)                 /* 31 was sys_stty */
+__SYSCALL(32,  sys_ni_syscall)                 /* 32 was sys_gtty */
+__SYSCALL(33,  sys_access)
+__SYSCALL(34,  sys_nice)
+__SYSCALL(35,  sys_ni_syscall)                 /* 35 was sys_ftime */
+__SYSCALL(36,  sys_sync)
+__SYSCALL(37,  sys_kill)
+__SYSCALL(38,  sys_rename)
+__SYSCALL(39,  sys_mkdir)
+__SYSCALL(40,  sys_rmdir)
+__SYSCALL(41,  sys_dup)
+__SYSCALL(42,  sys_pipe)
+__SYSCALL(43,  compat_sys_times)
+__SYSCALL(44,  sys_ni_syscall)                 /* 44 was sys_prof */
+__SYSCALL(45,  sys_brk)
+__SYSCALL(46,  sys_setgid16)
+__SYSCALL(47,  sys_getgid16)
+__SYSCALL(48,  sys_ni_syscall)                 /* 48 was sys_signal */
+__SYSCALL(49,  sys_geteuid16)
+__SYSCALL(50,  sys_getegid16)
+__SYSCALL(51,  sys_acct)
+__SYSCALL(52,  sys_umount)
+__SYSCALL(53,  sys_ni_syscall)                 /* 53 was sys_lock */
+__SYSCALL(54,  compat_sys_ioctl)
+__SYSCALL(55,  compat_sys_fcntl)
+__SYSCALL(56,  sys_ni_syscall)                 /* 56 was sys_mpx */
+__SYSCALL(57,  sys_setpgid)
+__SYSCALL(58,  sys_ni_syscall)                 /* 58 was sys_ulimit */
+__SYSCALL(59,  sys_ni_syscall)                 /* 59 was sys_olduname */
+__SYSCALL(60,  sys_umask)
+__SYSCALL(61,  sys_chroot)
+__SYSCALL(62,  compat_sys_ustat)
+__SYSCALL(63,  sys_dup2)
+__SYSCALL(64,  sys_getppid)
+__SYSCALL(65,  sys_getpgrp)
+__SYSCALL(66,  sys_setsid)
+__SYSCALL(67,  compat_sys_sigaction)
+__SYSCALL(68,  sys_ni_syscall)                 /* 68 was sys_sgetmask */
+__SYSCALL(69,  sys_ni_syscall)                 /* 69 was sys_ssetmask */
+__SYSCALL(70,  sys_setreuid16)
+__SYSCALL(71,  sys_setregid16)
+__SYSCALL(72,  compat_sys_sigsuspend)
+__SYSCALL(73,  compat_sys_sigpending)
+__SYSCALL(74,  sys_sethostname)
+__SYSCALL(75,  compat_sys_setrlimit)
+__SYSCALL(76,  sys_ni_syscall)                 /* 76 was compat_sys_getrlimit */
+__SYSCALL(77,  compat_sys_getrusage)
+__SYSCALL(78,  compat_sys_gettimeofday)
+__SYSCALL(79,  compat_sys_settimeofday)
+__SYSCALL(80,  sys_getgroups16)
+__SYSCALL(81,  sys_setgroups16)
+__SYSCALL(82,  sys_ni_syscall)                 /* 82 was compat_sys_select */
+__SYSCALL(83,  sys_symlink)
+__SYSCALL(84,  sys_ni_syscall)                 /* 84 was sys_lstat */
+__SYSCALL(85,  sys_readlink)
+__SYSCALL(86,  sys_uselib)
+__SYSCALL(87,  sys_swapon)
+__SYSCALL(88,  sys_reboot)
+__SYSCALL(89,  sys_ni_syscall)                 /* 89 was sys_readdir */
+__SYSCALL(90,  sys_ni_syscall)                 /* 90 was sys_mmap */
+__SYSCALL(91,  sys_munmap)
+__SYSCALL(92,  sys_truncate)
+__SYSCALL(93,  sys_ftruncate)
+__SYSCALL(94,  sys_fchmod)
+__SYSCALL(95,  sys_fchown16)
+__SYSCALL(96,  sys_getpriority)
+__SYSCALL(97,  sys_setpriority)
+__SYSCALL(98,  sys_ni_syscall)                 /* 98 was sys_profil */
+__SYSCALL(99,  compat_sys_statfs)
+__SYSCALL(100, compat_sys_fstatfs)
+__SYSCALL(101, sys_ni_syscall)                 /* 101 was sys_ioperm */
+__SYSCALL(102, sys_ni_syscall)                 /* 102 was sys_socketcall */
+__SYSCALL(103, sys_syslog)
+__SYSCALL(104, compat_sys_setitimer)
+__SYSCALL(105, compat_sys_getitimer)
+__SYSCALL(106, compat_sys_newstat)
+__SYSCALL(107, compat_sys_newlstat)
+__SYSCALL(108, compat_sys_newfstat)
+__SYSCALL(109, sys_ni_syscall)                 /* 109 was sys_uname */
+__SYSCALL(110, sys_ni_syscall)                 /* 110 was sys_iopl */
+__SYSCALL(111, sys_vhangup)
+__SYSCALL(112, sys_ni_syscall)                 /* 112 was sys_idle */
+__SYSCALL(113, sys_ni_syscall)                 /* 113 was sys_syscall */
+__SYSCALL(114, compat_sys_wait4)
+__SYSCALL(115, sys_swapoff)
+__SYSCALL(116, compat_sys_sysinfo)
+__SYSCALL(117, sys_ni_syscall)                 /* 117 was sys_ipc */
+__SYSCALL(118, sys_fsync)
+__SYSCALL(119, compat_sys_sigreturn_wrapper)
+__SYSCALL(120, compat_sys_clone_wrapper)
+__SYSCALL(121, sys_setdomainname)
+__SYSCALL(122, sys_newuname)
+__SYSCALL(123, sys_ni_syscall)                 /* 123 was sys_modify_ldt */
+__SYSCALL(124, compat_sys_adjtimex)
+__SYSCALL(125, sys_mprotect)
+__SYSCALL(126, compat_sys_sigprocmask)
+__SYSCALL(127, sys_ni_syscall)                 /* 127 was sys_create_module */
+__SYSCALL(128, sys_init_module)
+__SYSCALL(129, sys_delete_module)
+__SYSCALL(130, sys_ni_syscall)                 /* 130 was sys_get_kernel_syms */
+__SYSCALL(131, sys_quotactl)
+__SYSCALL(132, sys_getpgid)
+__SYSCALL(133, sys_fchdir)
+__SYSCALL(134, sys_bdflush)
+__SYSCALL(135, sys_sysfs)
+__SYSCALL(136, sys_personality)
+__SYSCALL(137, sys_ni_syscall)                 /* 137 was sys_afs_syscall */
+__SYSCALL(138, sys_setfsuid16)
+__SYSCALL(139, sys_setfsgid16)
+__SYSCALL(140, sys_llseek)
+__SYSCALL(141, compat_sys_getdents)
+__SYSCALL(142, compat_sys_select)
+__SYSCALL(143, sys_flock)
+__SYSCALL(144, sys_msync)
+__SYSCALL(145, compat_sys_readv)
+__SYSCALL(146, compat_sys_writev)
+__SYSCALL(147, sys_getsid)
+__SYSCALL(148, sys_fdatasync)
+__SYSCALL(149, compat_sys_sysctl)
+__SYSCALL(150, sys_mlock)
+__SYSCALL(151, sys_munlock)
+__SYSCALL(152, sys_mlockall)
+__SYSCALL(153, sys_munlockall)
+__SYSCALL(154, sys_sched_setparam)
+__SYSCALL(155, sys_sched_getparam)
+__SYSCALL(156, sys_sched_setscheduler)
+__SYSCALL(157, sys_sched_getscheduler)
+__SYSCALL(158, sys_sched_yield)
+__SYSCALL(159, sys_sched_get_priority_max)
+__SYSCALL(160, sys_sched_get_priority_min)
+__SYSCALL(161, compat_sys_sched_rr_get_interval)
+__SYSCALL(162, compat_sys_nanosleep)
+__SYSCALL(163, sys_mremap)
+__SYSCALL(164, sys_setresuid16)
+__SYSCALL(165, sys_getresuid16)
+__SYSCALL(166, sys_ni_syscall)                 /* 166 was sys_vm86 */
+__SYSCALL(167, sys_ni_syscall)                 /* 167 was sys_query_module */
+__SYSCALL(168, sys_poll)
+__SYSCALL(169, sys_ni_syscall)
+__SYSCALL(170, sys_setresgid16)
+__SYSCALL(171, sys_getresgid16)
+__SYSCALL(172, sys_prctl)
+__SYSCALL(173, compat_sys_rt_sigreturn_wrapper)
+__SYSCALL(174, compat_sys_rt_sigaction)
+__SYSCALL(175, compat_sys_rt_sigprocmask)
+__SYSCALL(176, compat_sys_rt_sigpending)
+__SYSCALL(177, compat_sys_rt_sigtimedwait)
+__SYSCALL(178, compat_sys_rt_sigqueueinfo)
+__SYSCALL(179, compat_sys_rt_sigsuspend)
+__SYSCALL(180, compat_sys_pread64_wrapper)
+__SYSCALL(181, compat_sys_pwrite64_wrapper)
+__SYSCALL(182, sys_chown16)
+__SYSCALL(183, sys_getcwd)
+__SYSCALL(184, sys_capget)
+__SYSCALL(185, sys_capset)
+__SYSCALL(186, compat_sys_sigaltstack_wrapper)
+__SYSCALL(187, compat_sys_sendfile)
+__SYSCALL(188, sys_ni_syscall)                 /* 188 reserved */
+__SYSCALL(189, sys_ni_syscall)                 /* 189 reserved */
+__SYSCALL(190, compat_sys_vfork_wrapper)
+__SYSCALL(191, compat_sys_getrlimit)           /* SuS compliant getrlimit */
+__SYSCALL(192, sys_mmap_pgoff)
+__SYSCALL(193, compat_sys_truncate64_wrapper)
+__SYSCALL(194, compat_sys_ftruncate64_wrapper)
+__SYSCALL(195, sys_stat64)
+__SYSCALL(196, sys_lstat64)
+__SYSCALL(197, sys_fstat64)
+__SYSCALL(198, sys_lchown)
+__SYSCALL(199, sys_getuid)
+__SYSCALL(200, sys_getgid)
+__SYSCALL(201, sys_geteuid)
+__SYSCALL(202, sys_getegid)
+__SYSCALL(203, sys_setreuid)
+__SYSCALL(204, sys_setregid)
+__SYSCALL(205, sys_getgroups)
+__SYSCALL(206, sys_setgroups)
+__SYSCALL(207, sys_fchown)
+__SYSCALL(208, sys_setresuid)
+__SYSCALL(209, sys_getresuid)
+__SYSCALL(210, sys_setresgid)
+__SYSCALL(211, sys_getresgid)
+__SYSCALL(212, sys_chown)
+__SYSCALL(213, sys_setuid)
+__SYSCALL(214, sys_setgid)
+__SYSCALL(215, sys_setfsuid)
+__SYSCALL(216, sys_setfsgid)
+__SYSCALL(217, compat_sys_getdents64)
+__SYSCALL(218, sys_pivot_root)
+__SYSCALL(219, sys_mincore)
+__SYSCALL(220, sys_madvise)
+__SYSCALL(221, compat_sys_fcntl64)
+__SYSCALL(222, sys_ni_syscall)                 /* 222 for tux */
+__SYSCALL(223, sys_ni_syscall)                 /* 223 is unused */
+__SYSCALL(224, sys_gettid)
+__SYSCALL(225, compat_sys_readahead_wrapper)
+__SYSCALL(226, sys_setxattr)
+__SYSCALL(227, sys_lsetxattr)
+__SYSCALL(228, sys_fsetxattr)
+__SYSCALL(229, sys_getxattr)
+__SYSCALL(230, sys_lgetxattr)
+__SYSCALL(231, sys_fgetxattr)
+__SYSCALL(232, sys_listxattr)
+__SYSCALL(233, sys_llistxattr)
+__SYSCALL(234, sys_flistxattr)
+__SYSCALL(235, sys_removexattr)
+__SYSCALL(236, sys_lremovexattr)
+__SYSCALL(237, sys_fremovexattr)
+__SYSCALL(238, sys_tkill)
+__SYSCALL(239, sys_sendfile64)
+__SYSCALL(240, compat_sys_futex)
+__SYSCALL(241, compat_sys_sched_setaffinity)
+__SYSCALL(242, compat_sys_sched_getaffinity)
+__SYSCALL(243, compat_sys_io_setup)
+__SYSCALL(244, sys_io_destroy)
+__SYSCALL(245, compat_sys_io_getevents)
+__SYSCALL(246, compat_sys_io_submit)
+__SYSCALL(247, sys_io_cancel)
+__SYSCALL(248, sys_exit_group)
+__SYSCALL(249, compat_sys_lookup_dcookie)
+__SYSCALL(250, sys_epoll_create)
+__SYSCALL(251, sys_epoll_ctl)
+__SYSCALL(252, sys_epoll_wait)
+__SYSCALL(253, sys_remap_file_pages)
+__SYSCALL(254, sys_ni_syscall)                 /* 254 for set_thread_area */
+__SYSCALL(255, sys_ni_syscall)                 /* 255 for get_thread_area */
+__SYSCALL(256, sys_set_tid_address)
+__SYSCALL(257, compat_sys_timer_create)
+__SYSCALL(258, compat_sys_timer_settime)
+__SYSCALL(259, compat_sys_timer_gettime)
+__SYSCALL(260, sys_timer_getoverrun)
+__SYSCALL(261, sys_timer_delete)
+__SYSCALL(262, compat_sys_clock_settime)
+__SYSCALL(263, compat_sys_clock_gettime)
+__SYSCALL(264, compat_sys_clock_getres)
+__SYSCALL(265, compat_sys_clock_nanosleep)
+__SYSCALL(266, compat_sys_statfs64_wrapper)
+__SYSCALL(267, compat_sys_fstatfs64_wrapper)
+__SYSCALL(268, sys_tgkill)
+__SYSCALL(269, compat_sys_utimes)
+__SYSCALL(270, compat_sys_fadvise64_64_wrapper)
+__SYSCALL(271, sys_pciconfig_iobase)
+__SYSCALL(272, sys_pciconfig_read)
+__SYSCALL(273, sys_pciconfig_write)
+__SYSCALL(274, compat_sys_mq_open)
+__SYSCALL(275, sys_mq_unlink)
+__SYSCALL(276, compat_sys_mq_timedsend)
+__SYSCALL(277, compat_sys_mq_timedreceive)
+__SYSCALL(278, compat_sys_mq_notify)
+__SYSCALL(279, compat_sys_mq_getsetattr)
+__SYSCALL(280, compat_sys_waitid)
+__SYSCALL(281, sys_socket)
+__SYSCALL(282, sys_bind)
+__SYSCALL(283, sys_connect)
+__SYSCALL(284, sys_listen)
+__SYSCALL(285, sys_accept)
+__SYSCALL(286, sys_getsockname)
+__SYSCALL(287, sys_getpeername)
+__SYSCALL(288, sys_socketpair)
+__SYSCALL(289, sys_send)
+__SYSCALL(290, sys_sendto)
+__SYSCALL(291, compat_sys_recv)
+__SYSCALL(292, compat_sys_recvfrom)
+__SYSCALL(293, sys_shutdown)
+__SYSCALL(294, compat_sys_setsockopt)
+__SYSCALL(295, compat_sys_getsockopt)
+__SYSCALL(296, compat_sys_sendmsg)
+__SYSCALL(297, compat_sys_recvmsg)
+__SYSCALL(298, sys_semop)
+__SYSCALL(299, sys_semget)
+__SYSCALL(300, compat_sys_semctl)
+__SYSCALL(301, compat_sys_msgsnd)
+__SYSCALL(302, compat_sys_msgrcv)
+__SYSCALL(303, sys_msgget)
+__SYSCALL(304, compat_sys_msgctl)
+__SYSCALL(305, compat_sys_shmat)
+__SYSCALL(306, sys_shmdt)
+__SYSCALL(307, sys_shmget)
+__SYSCALL(308, compat_sys_shmctl)
+__SYSCALL(309, sys_add_key)
+__SYSCALL(310, sys_request_key)
+__SYSCALL(311, compat_sys_keyctl)
+__SYSCALL(312, compat_sys_semtimedop)
+__SYSCALL(313, sys_ni_syscall)
+__SYSCALL(314, sys_ioprio_set)
+__SYSCALL(315, sys_ioprio_get)
+__SYSCALL(316, sys_inotify_init)
+__SYSCALL(317, sys_inotify_add_watch)
+__SYSCALL(318, sys_inotify_rm_watch)
+__SYSCALL(319, compat_sys_mbind)
+__SYSCALL(320, compat_sys_get_mempolicy)
+__SYSCALL(321, compat_sys_set_mempolicy)
+__SYSCALL(322, compat_sys_openat)
+__SYSCALL(323, sys_mkdirat)
+__SYSCALL(324, sys_mknodat)
+__SYSCALL(325, sys_fchownat)
+__SYSCALL(326, compat_sys_futimesat)
+__SYSCALL(327, sys_fstatat64)
+__SYSCALL(328, sys_unlinkat)
+__SYSCALL(329, sys_renameat)
+__SYSCALL(330, sys_linkat)
+__SYSCALL(331, sys_symlinkat)
+__SYSCALL(332, sys_readlinkat)
+__SYSCALL(333, sys_fchmodat)
+__SYSCALL(334, sys_faccessat)
+__SYSCALL(335, compat_sys_pselect6)
+__SYSCALL(336, compat_sys_ppoll)
+__SYSCALL(337, sys_unshare)
+__SYSCALL(338, compat_sys_set_robust_list)
+__SYSCALL(339, compat_sys_get_robust_list)
+__SYSCALL(340, sys_splice)
+__SYSCALL(341, compat_sys_sync_file_range2_wrapper)
+__SYSCALL(342, sys_tee)
+__SYSCALL(343, compat_sys_vmsplice)
+__SYSCALL(344, compat_sys_move_pages)
+__SYSCALL(345, sys_getcpu)
+__SYSCALL(346, compat_sys_epoll_pwait)
+__SYSCALL(347, compat_sys_kexec_load)
+__SYSCALL(348, compat_sys_utimensat)
+__SYSCALL(349, compat_sys_signalfd)
+__SYSCALL(350, sys_timerfd_create)
+__SYSCALL(351, sys_eventfd)
+__SYSCALL(352, compat_sys_fallocate_wrapper)
+__SYSCALL(353, compat_sys_timerfd_settime)
+__SYSCALL(354, compat_sys_timerfd_gettime)
+__SYSCALL(355, compat_sys_signalfd4)
+__SYSCALL(356, sys_eventfd2)
+__SYSCALL(357, sys_epoll_create1)
+__SYSCALL(358, sys_dup3)
+__SYSCALL(359, sys_pipe2)
+__SYSCALL(360, sys_inotify_init1)
+__SYSCALL(361, compat_sys_preadv)
+__SYSCALL(362, compat_sys_pwritev)
+__SYSCALL(363, compat_sys_rt_tgsigqueueinfo)
+__SYSCALL(364, sys_perf_event_open)
+__SYSCALL(365, compat_sys_recvmmsg)
+__SYSCALL(366, sys_accept4)
+__SYSCALL(367, sys_fanotify_init)
+__SYSCALL(368, compat_sys_fanotify_mark_wrapper)
+__SYSCALL(369, sys_prlimit64)
+__SYSCALL(370, sys_name_to_handle_at)
+__SYSCALL(371, sys_open_by_handle_at)
+__SYSCALL(372, sys_clock_adjtime)
+__SYSCALL(373, sys_syncfs)
+
+#define __NR_compat_syscalls           374
+
 /*
- * This file contains the system call numbers.
+ * Compat syscall numbers used by the AArch64 kernel.
  */
+#define __NR_compat_restart_syscall    0
+#define __NR_compat_sigreturn          119
+#define __NR_compat_rt_sigreturn       173
 
-#ifdef __SYSCALL_COMPAT
-
-#define __NR_restart_syscall           0
-__SYSCALL(__NR_restart_syscall, sys_restart_syscall)
-#define __NR_exit                      1
-__SYSCALL(__NR_exit, sys_exit)
-#define __NR_fork                      2
-__SYSCALL(__NR_fork, sys_fork)
-#define __NR_read                      3
-__SYSCALL(__NR_read, sys_read)
-#define __NR_write                     4
-__SYSCALL(__NR_write, sys_write)
-#define __NR_open                      5
-__SYSCALL(__NR_open, sys_open)
-#define __NR_close                     6
-__SYSCALL(__NR_close, sys_close)
-__SYSCALL(7, sys_ni_syscall)           /* 7 was sys_waitpid */
-#define __NR_creat                     8
-__SYSCALL(__NR_creat, sys_creat)
-#define __NR_link                      9
-__SYSCALL(__NR_link, sys_link)
-#define __NR_unlink                    10
-__SYSCALL(__NR_unlink, sys_unlink)
-#define __NR_execve                    11
-__SYSCALL(__NR_execve, sys_execve)
-#define __NR_chdir                     12
-__SYSCALL(__NR_chdir, sys_chdir)
-__SYSCALL(13, sys_ni_syscall)          /* 13 was sys_time */
-#define __NR_mknod                     14
-__SYSCALL(__NR_mknod, sys_mknod)
-#define __NR_chmod                     15
-__SYSCALL(__NR_chmod, sys_chmod)
-#define __NR_lchown                    16
-__SYSCALL(__NR_lchown, sys_lchown16)
-__SYSCALL(17, sys_ni_syscall)          /* 17 was sys_break */
-__SYSCALL(18, sys_ni_syscall)          /* 18 was sys_stat */
-#define __NR_lseek                     19
-__SYSCALL(__NR_lseek, sys_lseek)
-#define __NR_getpid                    20
-__SYSCALL(__NR_getpid, sys_getpid)
-#define __NR_mount                     21
-__SYSCALL(__NR_mount, sys_mount)
-__SYSCALL(22, sys_ni_syscall)          /* 22 was sys_umount */
-#define __NR_setuid                    23
-__SYSCALL(__NR_setuid, sys_setuid16)
-#define __NR_getuid                    24
-__SYSCALL(__NR_getuid, sys_getuid16)
-__SYSCALL(25, sys_ni_syscall)          /* 25 was sys_stime */
-#define __NR_ptrace                    26
-__SYSCALL(__NR_ptrace, sys_ptrace)
-__SYSCALL(27, sys_ni_syscall)          /* 27 was sys_alarm */
-__SYSCALL(28, sys_ni_syscall)          /* 28 was sys_fstat */
-#define __NR_pause                     29
-__SYSCALL(__NR_pause, sys_pause)
-__SYSCALL(30, sys_ni_syscall)          /* 30 was sys_utime */
-__SYSCALL(31, sys_ni_syscall)          /* 31 was sys_stty */
-__SYSCALL(32, sys_ni_syscall)          /* 32 was sys_gtty */
-#define __NR_access                    33
-__SYSCALL(__NR_access, sys_access)
-#define __NR_nice                      34
-__SYSCALL(__NR_nice, sys_nice)
-__SYSCALL(35, sys_ni_syscall)          /* 35 was sys_ftime */
-#define __NR_sync                      36
-__SYSCALL(__NR_sync, sys_sync)
-#define __NR_kill                      37
-__SYSCALL(__NR_kill, sys_kill)
-#define __NR_rename                    38
-__SYSCALL(__NR_rename, sys_rename)
-#define __NR_mkdir                     39
-__SYSCALL(__NR_mkdir, sys_mkdir)
-#define __NR_rmdir                     40
-__SYSCALL(__NR_rmdir, sys_rmdir)
-#define __NR_dup                       41
-__SYSCALL(__NR_dup, sys_dup)
-#define __NR_pipe                      42
-__SYSCALL(__NR_pipe, sys_pipe)
-#define __NR_times                     43
-__SYSCALL(__NR_times, sys_times)
-__SYSCALL(44, sys_ni_syscall)          /* 44 was sys_prof */
-#define __NR_brk                       45
-__SYSCALL(__NR_brk, sys_brk)
-#define __NR_setgid                    46
-__SYSCALL(__NR_setgid, sys_setgid16)
-#define __NR_getgid                    47
-__SYSCALL(__NR_getgid, sys_getgid16)
-__SYSCALL(48, sys_ni_syscall)          /* 48 was sys_signal */
-#define __NR_geteuid                   49
-__SYSCALL(__NR_geteuid, sys_geteuid16)
-#define __NR_getegid                   50
-__SYSCALL(__NR_getegid, sys_getegid16)
-#define __NR_acct                      51
-__SYSCALL(__NR_acct, sys_acct)
-#define __NR_umount2                   52
-__SYSCALL(__NR_umount2, sys_umount)
-__SYSCALL(53, sys_ni_syscall)          /* 53 was sys_lock */
-#define __NR_ioctl                     54
-__SYSCALL(__NR_ioctl, sys_ioctl)
-#define __NR_fcntl                     55
-__SYSCALL(__NR_fcntl, sys_fcntl)
-__SYSCALL(56, sys_ni_syscall)          /* 56 was sys_mpx */
-#define __NR_setpgid                   57
-__SYSCALL(__NR_setpgid, sys_setpgid)
-__SYSCALL(58, sys_ni_syscall)          /* 58 was sys_ulimit */
-__SYSCALL(59, sys_ni_syscall)          /* 59 was sys_olduname */
-#define __NR_umask                     60
-__SYSCALL(__NR_umask, sys_umask)
-#define __NR_chroot                    61
-__SYSCALL(__NR_chroot, sys_chroot)
-#define __NR_ustat                     62
-__SYSCALL(__NR_ustat, sys_ustat)
-#define __NR_dup2                      63
-__SYSCALL(__NR_dup2, sys_dup2)
-#define __NR_getppid                   64
-__SYSCALL(__NR_getppid, sys_getppid)
-#define __NR_getpgrp                   65
-__SYSCALL(__NR_getpgrp, sys_getpgrp)
-#define __NR_setsid                    66
-__SYSCALL(__NR_setsid, sys_setsid)
-#define __NR_sigaction                 67
-__SYSCALL(__NR_sigaction, sys_sigaction)
-__SYSCALL(68, sys_ni_syscall)          /* 68 was sys_sgetmask */
-__SYSCALL(69, sys_ni_syscall)          /* 69 was sys_ssetmask */
-#define __NR_setreuid                  70
-__SYSCALL(__NR_setreuid, sys_setreuid16)
-#define __NR_setregid                  71
-__SYSCALL(__NR_setregid, sys_setregid16)
-#define __NR_sigsuspend                        72
-__SYSCALL(__NR_sigsuspend, sys_sigsuspend)
-#define __NR_sigpending                        73
-__SYSCALL(__NR_sigpending, sys_sigpending)
-#define __NR_sethostname               74
-__SYSCALL(__NR_sethostname, sys_sethostname)
-#define __NR_setrlimit                 75
-__SYSCALL(__NR_setrlimit, sys_setrlimit)
-__SYSCALL(76, sys_ni_syscall)          /* 76 was sys_getrlimit */
-#define __NR_getrusage                 77
-__SYSCALL(__NR_getrusage, sys_getrusage)
-#define __NR_gettimeofday              78
-__SYSCALL(__NR_gettimeofday, sys_gettimeofday)
-#define __NR_settimeofday              79
-__SYSCALL(__NR_settimeofday, sys_settimeofday)
-#define __NR_getgroups                 80
-__SYSCALL(__NR_getgroups, sys_getgroups16)
-#define __NR_setgroups                 81
-__SYSCALL(__NR_setgroups, sys_setgroups16)
-__SYSCALL(82, sys_ni_syscall)          /* 82 was sys_select */
-#define __NR_symlink                   83
-__SYSCALL(__NR_symlink, sys_symlink)
-__SYSCALL(84, sys_ni_syscall)          /* 84 was sys_lstat */
-#define __NR_readlink                  85
-__SYSCALL(__NR_readlink, sys_readlink)
-#define __NR_uselib                    86
-__SYSCALL(__NR_uselib, sys_uselib)
-#define __NR_swapon                    87
-__SYSCALL(__NR_swapon, sys_swapon)
-#define __NR_reboot                    88
-__SYSCALL(__NR_reboot, sys_reboot)
-__SYSCALL(89, sys_ni_syscall)          /* 89 was sys_readdir */
-__SYSCALL(90, sys_ni_syscall)          /* 90 was sys_mmap */
-#define __NR_munmap                    91
-__SYSCALL(__NR_munmap, sys_munmap)
-#define __NR_truncate                  92
-__SYSCALL(__NR_truncate, sys_truncate)
-#define __NR_ftruncate                 93
-__SYSCALL(__NR_ftruncate, sys_ftruncate)
-#define __NR_fchmod                    94
-__SYSCALL(__NR_fchmod, sys_fchmod)
-#define __NR_fchown                    95
-__SYSCALL(__NR_fchown, sys_fchown16)
-#define __NR_getpriority               96
-__SYSCALL(__NR_getpriority, sys_getpriority)
-#define __NR_setpriority               97
-__SYSCALL(__NR_setpriority, sys_setpriority)
-__SYSCALL(98, sys_ni_syscall)          /* 98 was sys_profil */
-#define __NR_statfs                    99
-__SYSCALL(__NR_statfs, sys_statfs)
-#define __NR_fstatfs                   100
-__SYSCALL(__NR_fstatfs, sys_fstatfs)
-__SYSCALL(101, sys_ni_syscall)         /* 101 was sys_ioperm */
-__SYSCALL(102, sys_ni_syscall)         /* 102 was sys_socketcall */
-#define __NR_syslog                    103
-__SYSCALL(__NR_syslog, sys_syslog)
-#define __NR_setitimer                 104
-__SYSCALL(__NR_setitimer, sys_setitimer)
-#define __NR_getitimer                 105
-__SYSCALL(__NR_getitimer, sys_getitimer)
-#define __NR_stat                      106
-__SYSCALL(__NR_stat, sys_newstat)
-#define __NR_lstat                     107
-__SYSCALL(__NR_lstat, sys_newlstat)
-#define __NR_fstat                     108
-__SYSCALL(__NR_fstat, sys_newfstat)
-__SYSCALL(109, sys_ni_syscall)         /* 109 was sys_uname */
-__SYSCALL(110, sys_ni_syscall)         /* 110 was sys_iopl */
-#define __NR_vhangup                   111
-__SYSCALL(__NR_vhangup, sys_vhangup)
-__SYSCALL(112, sys_ni_syscall)         /* 112 was sys_idle */
-__SYSCALL(113, sys_ni_syscall)         /* 113 was sys_syscall */
-#define __NR_wait4                     114
-__SYSCALL(__NR_wait4, sys_wait4)
-#define __NR_swapoff                   115
-__SYSCALL(__NR_swapoff, sys_swapoff)
-#define __NR_sysinfo                   116
-__SYSCALL(__NR_sysinfo, sys_sysinfo)
-__SYSCALL(117, sys_ni_syscall)         /* 117 was sys_ipc */
-#define __NR_fsync                     118
-__SYSCALL(__NR_fsync, sys_fsync)
-#define __NR_sigreturn                 119
-__SYSCALL(__NR_sigreturn, sys_sigreturn)
-#define __NR_clone                     120
-__SYSCALL(__NR_clone, sys_clone)
-#define __NR_setdomainname             121
-__SYSCALL(__NR_setdomainname, sys_setdomainname)
-#define __NR_uname                     122
-__SYSCALL(__NR_uname, sys_newuname)
-__SYSCALL(123, sys_ni_syscall)         /* 123 was sys_modify_ldt */
-#define __NR_adjtimex                  124
-__SYSCALL(__NR_adjtimex, sys_adjtimex)
-#define __NR_mprotect                  125
-__SYSCALL(__NR_mprotect, sys_mprotect)
-#define __NR_sigprocmask               126
-__SYSCALL(__NR_sigprocmask, sys_sigprocmask)
-__SYSCALL(127, sys_ni_syscall)         /* 127 was sys_create_module */
-#define __NR_init_module               128
-__SYSCALL(__NR_init_module, sys_init_module)
-#define __NR_delete_module             129
-__SYSCALL(__NR_delete_module, sys_delete_module)
-__SYSCALL(130, sys_ni_syscall)         /* 130 was sys_get_kernel_syms */
-#define __NR_quotactl                  131
-__SYSCALL(__NR_quotactl, sys_quotactl)
-#define __NR_getpgid                   132
-__SYSCALL(__NR_getpgid, sys_getpgid)
-#define __NR_fchdir                    133
-__SYSCALL(__NR_fchdir, sys_fchdir)
-#define __NR_bdflush                   134
-__SYSCALL(__NR_bdflush, sys_bdflush)
-#define __NR_sysfs                     135
-__SYSCALL(__NR_sysfs, sys_sysfs)
-#define __NR_personality               136
-__SYSCALL(__NR_personality, sys_personality)
-__SYSCALL(137, sys_ni_syscall)         /* 137 was sys_afs_syscall */
-#define __NR_setfsuid                  138
-__SYSCALL(__NR_setfsuid, sys_setfsuid16)
-#define __NR_setfsgid                  139
-__SYSCALL(__NR_setfsgid, sys_setfsgid16)
-#define __NR__llseek                   140
-__SYSCALL(__NR__llseek, sys_llseek)
-#define __NR_getdents                  141
-__SYSCALL(__NR_getdents, sys_getdents)
-#define __NR__newselect                        142
-__SYSCALL(__NR__newselect, sys_select)
-#define __NR_flock                     143
-__SYSCALL(__NR_flock, sys_flock)
-#define __NR_msync                     144
-__SYSCALL(__NR_msync, sys_msync)
-#define __NR_readv                     145
-__SYSCALL(__NR_readv, sys_readv)
-#define __NR_writev                    146
-__SYSCALL(__NR_writev, sys_writev)
-#define __NR_getsid                    147
-__SYSCALL(__NR_getsid, sys_getsid)
-#define __NR_fdatasync                 148
-__SYSCALL(__NR_fdatasync, sys_fdatasync)
-#define __NR__sysctl                   149
-__SYSCALL(__NR__sysctl, sys_sysctl)
-#define __NR_mlock                     150
-__SYSCALL(__NR_mlock, sys_mlock)
-#define __NR_munlock                   151
-__SYSCALL(__NR_munlock, sys_munlock)
-#define __NR_mlockall                  152
-__SYSCALL(__NR_mlockall, sys_mlockall)
-#define __NR_munlockall                        153
-__SYSCALL(__NR_munlockall, sys_munlockall)
-#define __NR_sched_setparam            154
-__SYSCALL(__NR_sched_setparam, sys_sched_setparam)
-#define __NR_sched_getparam            155
-__SYSCALL(__NR_sched_getparam, sys_sched_getparam)
-#define __NR_sched_setscheduler                156
-__SYSCALL(__NR_sched_setscheduler, sys_sched_setscheduler)
-#define __NR_sched_getscheduler                157
-__SYSCALL(__NR_sched_getscheduler, sys_sched_getscheduler)
-#define __NR_sched_yield               158
-__SYSCALL(__NR_sched_yield, sys_sched_yield)
-#define __NR_sched_get_priority_max    159
-__SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max)
-#define __NR_sched_get_priority_min    160
-__SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min)
-#define __NR_sched_rr_get_interval     161
-__SYSCALL(__NR_sched_rr_get_interval, sys_sched_rr_get_interval)
-#define __NR_nanosleep                 162
-__SYSCALL(__NR_nanosleep, sys_nanosleep)
-#define __NR_mremap                    163
-__SYSCALL(__NR_mremap, sys_mremap)
-#define __NR_setresuid                 164
-__SYSCALL(__NR_setresuid, sys_setresuid16)
-#define __NR_getresuid                 165
-__SYSCALL(__NR_getresuid, sys_getresuid16)
-__SYSCALL(166, sys_ni_syscall)         /* 166 was sys_vm86 */
-__SYSCALL(167, sys_ni_syscall)         /* 167 was sys_query_module */
-#define __NR_poll                      168
-__SYSCALL(__NR_poll, sys_poll)
-#define __NR_nfsservctl                        169
-__SYSCALL(__NR_nfsservctl, sys_ni_syscall)
-#define __NR_setresgid                 170
-__SYSCALL(__NR_setresgid, sys_setresgid16)
-#define __NR_getresgid                 171
-__SYSCALL(__NR_getresgid, sys_getresgid16)
-#define __NR_prctl                     172
-__SYSCALL(__NR_prctl, sys_prctl)
-#define __NR_rt_sigreturn              173
-__SYSCALL(__NR_rt_sigreturn, sys_rt_sigreturn)
-#define __NR_rt_sigaction              174
-__SYSCALL(__NR_rt_sigaction, sys_rt_sigaction)
-#define __NR_rt_sigprocmask            175
-__SYSCALL(__NR_rt_sigprocmask, sys_rt_sigprocmask)
-#define __NR_rt_sigpending             176
-__SYSCALL(__NR_rt_sigpending, sys_rt_sigpending)
-#define __NR_rt_sigtimedwait           177
-__SYSCALL(__NR_rt_sigtimedwait, sys_rt_sigtimedwait)
-#define __NR_rt_sigqueueinfo           178
-__SYSCALL(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo)
-#define __NR_rt_sigsuspend             179
-__SYSCALL(__NR_rt_sigsuspend, sys_rt_sigsuspend)
-#define __NR_pread64                   180
-__SYSCALL(__NR_pread64, sys_pread64)
-#define __NR_pwrite64                  181
-__SYSCALL(__NR_pwrite64, sys_pwrite64)
-#define __NR_chown                     182
-__SYSCALL(__NR_chown, sys_chown16)
-#define __NR_getcwd                    183
-__SYSCALL(__NR_getcwd, sys_getcwd)
-#define __NR_capget                    184
-__SYSCALL(__NR_capget, sys_capget)
-#define __NR_capset                    185
-__SYSCALL(__NR_capset, sys_capset)
-#define __NR_sigaltstack               186
-__SYSCALL(__NR_sigaltstack, sys_sigaltstack)
-#define __NR_sendfile                  187
-__SYSCALL(__NR_sendfile, sys_sendfile)
-__SYSCALL(188, sys_ni_syscall)         /* 188 reserved */
-__SYSCALL(189, sys_ni_syscall)         /* 189 reserved */
-#define __NR_vfork                     190
-__SYSCALL(__NR_vfork, sys_vfork)
-#define __NR_ugetrlimit                        191     /* SuS compliant getrlimit */
-__SYSCALL(__NR_ugetrlimit, sys_getrlimit)
-#define __NR_mmap2                     192
-__SYSCALL(__NR_mmap2, sys_mmap2)
-#define __NR_truncate64                        193
-__SYSCALL(__NR_truncate64, sys_truncate64)
-#define __NR_ftruncate64               194
-__SYSCALL(__NR_ftruncate64, sys_ftruncate64)
-#define __NR_stat64                    195
-__SYSCALL(__NR_stat64, sys_stat64)
-#define __NR_lstat64                   196
-__SYSCALL(__NR_lstat64, sys_lstat64)
-#define __NR_fstat64                   197
-__SYSCALL(__NR_fstat64, sys_fstat64)
-#define __NR_lchown32                  198
-__SYSCALL(__NR_lchown32, sys_lchown)
-#define __NR_getuid32                  199
-__SYSCALL(__NR_getuid32, sys_getuid)
-#define __NR_getgid32                  200
-__SYSCALL(__NR_getgid32, sys_getgid)
-#define __NR_geteuid32                 201
-__SYSCALL(__NR_geteuid32, sys_geteuid)
-#define __NR_getegid32                 202
-__SYSCALL(__NR_getegid32, sys_getegid)
-#define __NR_setreuid32                        203
-__SYSCALL(__NR_setreuid32, sys_setreuid)
-#define __NR_setregid32                        204
-__SYSCALL(__NR_setregid32, sys_setregid)
-#define __NR_getgroups32               205
-__SYSCALL(__NR_getgroups32, sys_getgroups)
-#define __NR_setgroups32               206
-__SYSCALL(__NR_setgroups32, sys_setgroups)
-#define __NR_fchown32                  207
-__SYSCALL(__NR_fchown32, sys_fchown)
-#define __NR_setresuid32               208
-__SYSCALL(__NR_setresuid32, sys_setresuid)
-#define __NR_getresuid32               209
-__SYSCALL(__NR_getresuid32, sys_getresuid)
-#define __NR_setresgid32               210
-__SYSCALL(__NR_setresgid32, sys_setresgid)
-#define __NR_getresgid32               211
-__SYSCALL(__NR_getresgid32, sys_getresgid)
-#define __NR_chown32                   212
-__SYSCALL(__NR_chown32, sys_chown)
-#define __NR_setuid32                  213
-__SYSCALL(__NR_setuid32, sys_setuid)
-#define __NR_setgid32                  214
-__SYSCALL(__NR_setgid32, sys_setgid)
-#define __NR_setfsuid32                        215
-__SYSCALL(__NR_setfsuid32, sys_setfsuid)
-#define __NR_setfsgid32                        216
-__SYSCALL(__NR_setfsgid32, sys_setfsgid)
-#define __NR_getdents64                        217
-__SYSCALL(__NR_getdents64, sys_getdents64)
-#define __NR_pivot_root                        218
-__SYSCALL(__NR_pivot_root, sys_pivot_root)
-#define __NR_mincore                   219
-__SYSCALL(__NR_mincore, sys_mincore)
-#define __NR_madvise                   220
-__SYSCALL(__NR_madvise, sys_madvise)
-#define __NR_fcntl64                   221
-__SYSCALL(__NR_fcntl64, sys_fcntl64)
-__SYSCALL(222, sys_ni_syscall)         /* 222 for tux */
-__SYSCALL(223, sys_ni_syscall)         /* 223 is unused */
-#define __NR_gettid                    224
-__SYSCALL(__NR_gettid, sys_gettid)
-#define __NR_readahead                 225
-__SYSCALL(__NR_readahead, sys_readahead)
-#define __NR_setxattr                  226
-__SYSCALL(__NR_setxattr, sys_setxattr)
-#define __NR_lsetxattr                 227
-__SYSCALL(__NR_lsetxattr, sys_lsetxattr)
-#define __NR_fsetxattr                 228
-__SYSCALL(__NR_fsetxattr, sys_fsetxattr)
-#define __NR_getxattr                  229
-__SYSCALL(__NR_getxattr, sys_getxattr)
-#define __NR_lgetxattr                 230
-__SYSCALL(__NR_lgetxattr, sys_lgetxattr)
-#define __NR_fgetxattr                 231
-__SYSCALL(__NR_fgetxattr, sys_fgetxattr)
-#define __NR_listxattr                 232
-__SYSCALL(__NR_listxattr, sys_listxattr)
-#define __NR_llistxattr                        233
-__SYSCALL(__NR_llistxattr, sys_llistxattr)
-#define __NR_flistxattr                        234
-__SYSCALL(__NR_flistxattr, sys_flistxattr)
-#define __NR_removexattr               235
-__SYSCALL(__NR_removexattr, sys_removexattr)
-#define __NR_lremovexattr              236
-__SYSCALL(__NR_lremovexattr, sys_lremovexattr)
-#define __NR_fremovexattr              237
-__SYSCALL(__NR_fremovexattr, sys_fremovexattr)
-#define __NR_tkill                     238
-__SYSCALL(__NR_tkill, sys_tkill)
-#define __NR_sendfile64                        239
-__SYSCALL(__NR_sendfile64, sys_sendfile64)
-#define __NR_futex                     240
-__SYSCALL(__NR_futex, sys_futex)
-#define __NR_sched_setaffinity         241
-__SYSCALL(__NR_sched_setaffinity, sys_sched_setaffinity)
-#define __NR_sched_getaffinity         242
-__SYSCALL(__NR_sched_getaffinity, sys_sched_getaffinity)
-#define __NR_io_setup                  243
-__SYSCALL(__NR_io_setup, sys_io_setup)
-#define __NR_io_destroy                        244
-__SYSCALL(__NR_io_destroy, sys_io_destroy)
-#define __NR_io_getevents              245
-__SYSCALL(__NR_io_getevents, sys_io_getevents)
-#define __NR_io_submit                 246
-__SYSCALL(__NR_io_submit, sys_io_submit)
-#define __NR_io_cancel                 247
-__SYSCALL(__NR_io_cancel, sys_io_cancel)
-#define __NR_exit_group                        248
-__SYSCALL(__NR_exit_group, sys_exit_group)
-#define __NR_lookup_dcookie            249
-__SYSCALL(__NR_lookup_dcookie, sys_lookup_dcookie)
-#define __NR_epoll_create              250
-__SYSCALL(__NR_epoll_create, sys_epoll_create)
-#define __NR_epoll_ctl                 251
-__SYSCALL(__NR_epoll_ctl, sys_epoll_ctl)
-#define __NR_epoll_wait                        252
-__SYSCALL(__NR_epoll_wait, sys_epoll_wait)
-#define __NR_remap_file_pages          253
-__SYSCALL(__NR_remap_file_pages, sys_remap_file_pages)
-__SYSCALL(254, sys_ni_syscall)         /* 254 for set_thread_area */
-__SYSCALL(255, sys_ni_syscall)         /* 255 for get_thread_area */
-#define __NR_set_tid_address           256
-__SYSCALL(__NR_set_tid_address, sys_set_tid_address)
-#define __NR_timer_create              257
-__SYSCALL(__NR_timer_create, sys_timer_create)
-#define __NR_timer_settime             258
-__SYSCALL(__NR_timer_settime, sys_timer_settime)
-#define __NR_timer_gettime             259
-__SYSCALL(__NR_timer_gettime, sys_timer_gettime)
-#define __NR_timer_getoverrun          260
-__SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun)
-#define __NR_timer_delete              261
-__SYSCALL(__NR_timer_delete, sys_timer_delete)
-#define __NR_clock_settime             262
-__SYSCALL(__NR_clock_settime, sys_clock_settime)
-#define __NR_clock_gettime             263
-__SYSCALL(__NR_clock_gettime, sys_clock_gettime)
-#define __NR_clock_getres              264
-__SYSCALL(__NR_clock_getres, sys_clock_getres)
-#define __NR_clock_nanosleep           265
-__SYSCALL(__NR_clock_nanosleep, sys_clock_nanosleep)
-#define __NR_statfs64                  266
-__SYSCALL(__NR_statfs64, sys_statfs64)
-#define __NR_fstatfs64                 267
-__SYSCALL(__NR_fstatfs64, sys_fstatfs64)
-#define __NR_tgkill                    268
-__SYSCALL(__NR_tgkill, sys_tgkill)
-#define __NR_utimes                    269
-__SYSCALL(__NR_utimes, sys_utimes)
-#define __NR_fadvise64                 270
-__SYSCALL(__NR_fadvise64, sys_fadvise64_64)
-#define __NR_pciconfig_iobase          271
-__SYSCALL(__NR_pciconfig_iobase, sys_pciconfig_iobase)
-#define __NR_pciconfig_read            272
-__SYSCALL(__NR_pciconfig_read, sys_pciconfig_read)
-#define __NR_pciconfig_write           273
-__SYSCALL(__NR_pciconfig_write, sys_pciconfig_write)
-#define __NR_mq_open                   274
-__SYSCALL(__NR_mq_open, sys_mq_open)
-#define __NR_mq_unlink                 275
-__SYSCALL(__NR_mq_unlink, sys_mq_unlink)
-#define __NR_mq_timedsend              276
-__SYSCALL(__NR_mq_timedsend, sys_mq_timedsend)
-#define __NR_mq_timedreceive           277
-__SYSCALL(__NR_mq_timedreceive, sys_mq_timedreceive)
-#define __NR_mq_notify                 278
-__SYSCALL(__NR_mq_notify, sys_mq_notify)
-#define __NR_mq_getsetattr             279
-__SYSCALL(__NR_mq_getsetattr, sys_mq_getsetattr)
-#define __NR_waitid                    280
-__SYSCALL(__NR_waitid, sys_waitid)
-#define __NR_socket                    281
-__SYSCALL(__NR_socket, sys_socket)
-#define __NR_bind                      282
-__SYSCALL(__NR_bind, sys_bind)
-#define __NR_connect                   283
-__SYSCALL(__NR_connect, sys_connect)
-#define __NR_listen                    284
-__SYSCALL(__NR_listen, sys_listen)
-#define __NR_accept                    285
-__SYSCALL(__NR_accept, sys_accept)
-#define __NR_getsockname               286
-__SYSCALL(__NR_getsockname, sys_getsockname)
-#define __NR_getpeername               287
-__SYSCALL(__NR_getpeername, sys_getpeername)
-#define __NR_socketpair                        288
-__SYSCALL(__NR_socketpair, sys_socketpair)
-#define __NR_send                      289
-__SYSCALL(__NR_send, sys_send)
-#define __NR_sendto                    290
-__SYSCALL(__NR_sendto, sys_sendto)
-#define __NR_recv                      291
-__SYSCALL(__NR_recv, sys_recv)
-#define __NR_recvfrom                  292
-__SYSCALL(__NR_recvfrom, sys_recvfrom)
-#define __NR_shutdown                  293
-__SYSCALL(__NR_shutdown, sys_shutdown)
-#define __NR_setsockopt                        294
-__SYSCALL(__NR_setsockopt, sys_setsockopt)
-#define __NR_getsockopt                        295
-__SYSCALL(__NR_getsockopt, sys_getsockopt)
-#define __NR_sendmsg                   296
-__SYSCALL(__NR_sendmsg, sys_sendmsg)
-#define __NR_recvmsg                   297
-__SYSCALL(__NR_recvmsg, sys_recvmsg)
-#define __NR_semop                     298
-__SYSCALL(__NR_semop, sys_semop)
-#define __NR_semget                    299
-__SYSCALL(__NR_semget, sys_semget)
-#define __NR_semctl                    300
-__SYSCALL(__NR_semctl, sys_semctl)
-#define __NR_msgsnd                    301
-__SYSCALL(__NR_msgsnd, sys_msgsnd)
-#define __NR_msgrcv                    302
-__SYSCALL(__NR_msgrcv, sys_msgrcv)
-#define __NR_msgget                    303
-__SYSCALL(__NR_msgget, sys_msgget)
-#define __NR_msgctl                    304
-__SYSCALL(__NR_msgctl, sys_msgctl)
-#define __NR_shmat                     305
-__SYSCALL(__NR_shmat, sys_shmat)
-#define __NR_shmdt                     306
-__SYSCALL(__NR_shmdt, sys_shmdt)
-#define __NR_shmget                    307
-__SYSCALL(__NR_shmget, sys_shmget)
-#define __NR_shmctl                    308
-__SYSCALL(__NR_shmctl, sys_shmctl)
-#define __NR_add_key                   309
-__SYSCALL(__NR_add_key, sys_add_key)
-#define __NR_request_key               310
-__SYSCALL(__NR_request_key, sys_request_key)
-#define __NR_keyctl                    311
-__SYSCALL(__NR_keyctl, sys_keyctl)
-#define __NR_semtimedop                        312
-__SYSCALL(__NR_semtimedop, sys_semtimedop)
-#define __NR_vserver                   313
-__SYSCALL(__NR_vserver, sys_ni_syscall)
-#define __NR_ioprio_set                        314
-__SYSCALL(__NR_ioprio_set, sys_ioprio_set)
-#define __NR_ioprio_get                        315
-__SYSCALL(__NR_ioprio_get, sys_ioprio_get)
-#define __NR_inotify_init              316
-__SYSCALL(__NR_inotify_init, sys_inotify_init)
-#define __NR_inotify_add_watch         317
-__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch)
-#define __NR_inotify_rm_watch          318
-__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
-#define __NR_mbind                     319
-__SYSCALL(__NR_mbind, sys_mbind)
-#define __NR_get_mempolicy             320
-__SYSCALL(__NR_get_mempolicy, sys_get_mempolicy)
-#define __NR_set_mempolicy             321
-__SYSCALL(__NR_set_mempolicy, sys_set_mempolicy)
-#define __NR_openat                    322
-__SYSCALL(__NR_openat, sys_openat)
-#define __NR_mkdirat                   323
-__SYSCALL(__NR_mkdirat, sys_mkdirat)
-#define __NR_mknodat                   324
-__SYSCALL(__NR_mknodat, sys_mknodat)
-#define __NR_fchownat                  325
-__SYSCALL(__NR_fchownat, sys_fchownat)
-#define __NR_futimesat                 326
-__SYSCALL(__NR_futimesat, sys_futimesat)
-#define __NR_fstatat64                 327
-__SYSCALL(__NR_fstatat64, sys_fstatat64)
-#define __NR_unlinkat                  328
-__SYSCALL(__NR_unlinkat, sys_unlinkat)
-#define __NR_renameat                  329
-__SYSCALL(__NR_renameat, sys_renameat)
-#define __NR_linkat                    330
-__SYSCALL(__NR_linkat, sys_linkat)
-#define __NR_symlinkat                 331
-__SYSCALL(__NR_symlinkat, sys_symlinkat)
-#define __NR_readlinkat                        332
-__SYSCALL(__NR_readlinkat, sys_readlinkat)
-#define __NR_fchmodat                  333
-__SYSCALL(__NR_fchmodat, sys_fchmodat)
-#define __NR_faccessat                 334
-__SYSCALL(__NR_faccessat, sys_faccessat)
-#define __NR_pselect6                  335
-__SYSCALL(__NR_pselect6, sys_pselect6)
-#define __NR_ppoll                     336
-__SYSCALL(__NR_ppoll, sys_ppoll)
-#define __NR_unshare                   337
-__SYSCALL(__NR_unshare, sys_unshare)
-#define __NR_set_robust_list           338
-__SYSCALL(__NR_set_robust_list, sys_set_robust_list)
-#define __NR_get_robust_list           339
-__SYSCALL(__NR_get_robust_list, sys_get_robust_list)
-#define __NR_splice                    340
-__SYSCALL(__NR_splice, sys_splice)
-#define __NR_sync_file_range2          341
-__SYSCALL(__NR_sync_file_range2, sys_sync_file_range2)
-#define __NR_tee                       342
-__SYSCALL(__NR_tee, sys_tee)
-#define __NR_vmsplice                  343
-__SYSCALL(__NR_vmsplice, sys_vmsplice)
-#define __NR_move_pages                        344
-__SYSCALL(__NR_move_pages, sys_move_pages)
-#define __NR_getcpu                    345
-__SYSCALL(__NR_getcpu, sys_getcpu)
-#define __NR_epoll_pwait               346
-__SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
-#define __NR_kexec_load                        347
-__SYSCALL(__NR_kexec_load, sys_kexec_load)
-#define __NR_utimensat                 348
-__SYSCALL(__NR_utimensat, sys_utimensat)
-#define __NR_signalfd                  349
-__SYSCALL(__NR_signalfd, sys_signalfd)
-#define __NR_timerfd_create            350
-__SYSCALL(__NR_timerfd_create, sys_timerfd_create)
-#define __NR_eventfd                   351
-__SYSCALL(__NR_eventfd, sys_eventfd)
-#define __NR_fallocate                 352
-__SYSCALL(__NR_fallocate, sys_fallocate)
-#define __NR_timerfd_settime           353
-__SYSCALL(__NR_timerfd_settime, sys_timerfd_settime)
-#define __NR_timerfd_gettime           354
-__SYSCALL(__NR_timerfd_gettime, sys_timerfd_gettime)
-#define __NR_signalfd4                 355
-__SYSCALL(__NR_signalfd4, sys_signalfd4)
-#define __NR_eventfd2                  356
-__SYSCALL(__NR_eventfd2, sys_eventfd2)
-#define __NR_epoll_create1             357
-__SYSCALL(__NR_epoll_create1, sys_epoll_create1)
-#define __NR_dup3                      358
-__SYSCALL(__NR_dup3, sys_dup3)
-#define __NR_pipe2                     359
-__SYSCALL(__NR_pipe2, sys_pipe2)
-#define __NR_inotify_init1             360
-__SYSCALL(__NR_inotify_init1, sys_inotify_init1)
-#define __NR_preadv                    361
-__SYSCALL(__NR_preadv, sys_preadv)
-#define __NR_pwritev                   362
-__SYSCALL(__NR_pwritev, sys_pwritev)
-#define __NR_rt_tgsigqueueinfo         363
-__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
-#define __NR_perf_event_open           364
-__SYSCALL(__NR_perf_event_open, sys_perf_event_open)
-#define __NR_recvmmsg                  365
-__SYSCALL(__NR_recvmmsg, sys_recvmmsg)
-#define __NR_accept4                   366
-__SYSCALL(__NR_accept4, sys_accept4)
-#define __NR_fanotify_init             367
-__SYSCALL(__NR_fanotify_init, sys_fanotify_init)
-#define __NR_fanotify_mark             368
-__SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
-#define __NR_prlimit64                 369
-__SYSCALL(__NR_prlimit64, sys_prlimit64)
-#define __NR_name_to_handle_at         370
-__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
-#define __NR_open_by_handle_at         371
-__SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
-#define __NR_clock_adjtime             372
-__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime)
-#define __NR_syncfs                    373
-__SYSCALL(__NR_syncfs, sys_syncfs)
 
 /*
  * The following SVCs are ARM private.
@@ -737,19 +412,3 @@ __SYSCALL(__NR_syncfs, sys_syncfs)
 #define __ARM_NR_COMPAT_BASE           0x0f0000
 #define __ARM_NR_compat_cacheflush     (__ARM_NR_COMPAT_BASE+2)
 #define __ARM_NR_compat_set_tls                (__ARM_NR_COMPAT_BASE+5)
-
-#endif /* __SYSCALL_COMPAT */
-
-#define __NR_compat_syscalls           374
-
-#define __ARCH_WANT_COMPAT_IPC_PARSE_VERSION
-#define __ARCH_WANT_COMPAT_STAT64
-#define __ARCH_WANT_SYS_GETHOSTNAME
-#define __ARCH_WANT_SYS_PAUSE
-#define __ARCH_WANT_SYS_GETPGRP
-#define __ARCH_WANT_SYS_LLSEEK
-#define __ARCH_WANT_SYS_NICE
-#define __ARCH_WANT_SYS_SIGPENDING
-#define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
-#define __ARCH_WANT_COMPAT_SYS_SENDFILE
index baebb3da1d44160fc6f6f259886656e6f494b167..ca5b65f75c7bbc9771c8caac282a91d96fc3e619 100644 (file)
@@ -1,3 +1,17 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
 
+header-y += auxvec.h
+header-y += bitsperlong.h
+header-y += byteorder.h
+header-y += fcntl.h
+header-y += hwcap.h
+header-y += param.h
+header-y += ptrace.h
+header-y += setup.h
+header-y += sigcontext.h
+header-y += siginfo.h
+header-y += signal.h
+header-y += stat.h
+header-y += statfs.h
+header-y += unistd.h
diff --git a/arch/arm64/include/uapi/asm/auxvec.h b/arch/arm64/include/uapi/asm/auxvec.h
new file mode 100644 (file)
index 0000000..22d6d88
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_AUXVEC_H
+#define __ASM_AUXVEC_H
+
+/* vDSO location */
+#define AT_SYSINFO_EHDR        33
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/bitsperlong.h b/arch/arm64/include/uapi/asm/bitsperlong.h
new file mode 100644 (file)
index 0000000..fce9c29
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_BITSPERLONG_H
+#define __ASM_BITSPERLONG_H
+
+#define __BITS_PER_LONG 64
+
+#include <asm-generic/bitsperlong.h>
+
+#endif /* __ASM_BITSPERLONG_H */
diff --git a/arch/arm64/include/uapi/asm/byteorder.h b/arch/arm64/include/uapi/asm/byteorder.h
new file mode 100644 (file)
index 0000000..2b92046
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_BYTEORDER_H
+#define __ASM_BYTEORDER_H
+
+#include <linux/byteorder/little_endian.h>
+
+#endif /* __ASM_BYTEORDER_H */
diff --git a/arch/arm64/include/uapi/asm/fcntl.h b/arch/arm64/include/uapi/asm/fcntl.h
new file mode 100644 (file)
index 0000000..cd2e630
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_FCNTL_H
+#define __ASM_FCNTL_H
+
+/*
+ * Using our own definitions for AArch32 (compat) support.
+ */
+#define O_DIRECTORY     040000 /* must be a directory */
+#define O_NOFOLLOW     0100000 /* don't follow links */
+#define O_DIRECT       0200000 /* direct disk access hint - currently ignored */
+#define O_LARGEFILE    0400000
+
+#include <asm-generic/fcntl.h>
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h
new file mode 100644 (file)
index 0000000..eea4975
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef _UAPI__ASM_HWCAP_H
+#define _UAPI__ASM_HWCAP_H
+
+/*
+ * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP
+ */
+#define HWCAP_FP               (1 << 0)
+#define HWCAP_ASIMD            (1 << 1)
+
+
+#endif /* _UAPI__ASM_HWCAP_H */
diff --git a/arch/arm64/include/uapi/asm/param.h b/arch/arm64/include/uapi/asm/param.h
new file mode 100644 (file)
index 0000000..8e3a281
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_PARAM_H
+#define __ASM_PARAM_H
+
+#define EXEC_PAGESIZE  65536
+
+#include <asm-generic/param.h>
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h
new file mode 100644 (file)
index 0000000..9b131b4
--- /dev/null
@@ -0,0 +1,91 @@
+/*
+ * Based on arch/arm/include/asm/ptrace.h
+ *
+ * Copyright (C) 1996-2003 Russell King
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef _UAPI__ASM_PTRACE_H
+#define _UAPI__ASM_PTRACE_H
+
+#include <linux/types.h>
+
+#include <asm/hwcap.h>
+
+
+/*
+ * PSR bits
+ */
+#define PSR_MODE_EL0t  0x00000000
+#define PSR_MODE_EL1t  0x00000004
+#define PSR_MODE_EL1h  0x00000005
+#define PSR_MODE_EL2t  0x00000008
+#define PSR_MODE_EL2h  0x00000009
+#define PSR_MODE_EL3t  0x0000000c
+#define PSR_MODE_EL3h  0x0000000d
+#define PSR_MODE_MASK  0x0000000f
+
+/* AArch32 CPSR bits */
+#define PSR_MODE32_BIT         0x00000010
+
+/* AArch64 SPSR bits */
+#define PSR_F_BIT      0x00000040
+#define PSR_I_BIT      0x00000080
+#define PSR_A_BIT      0x00000100
+#define PSR_D_BIT      0x00000200
+#define PSR_Q_BIT      0x08000000
+#define PSR_V_BIT      0x10000000
+#define PSR_C_BIT      0x20000000
+#define PSR_Z_BIT      0x40000000
+#define PSR_N_BIT      0x80000000
+
+/*
+ * Groups of PSR bits
+ */
+#define PSR_f          0xff000000      /* Flags                */
+#define PSR_s          0x00ff0000      /* Status               */
+#define PSR_x          0x0000ff00      /* Extension            */
+#define PSR_c          0x000000ff      /* Control              */
+
+
+#ifndef __ASSEMBLY__
+
+/*
+ * User structures for general purpose, floating point and debug registers.
+ */
+struct user_pt_regs {
+       __u64           regs[31];
+       __u64           sp;
+       __u64           pc;
+       __u64           pstate;
+};
+
+struct user_fpsimd_state {
+       __uint128_t     vregs[32];
+       __u32           fpsr;
+       __u32           fpcr;
+};
+
+struct user_hwdebug_state {
+       __u32           dbg_info;
+       struct {
+               __u64   addr;
+               __u32   ctrl;
+       }               dbg_regs[16];
+};
+
+
+#endif /* __ASSEMBLY__ */
+
+#endif /* _UAPI__ASM_PTRACE_H */
diff --git a/arch/arm64/include/uapi/asm/setup.h b/arch/arm64/include/uapi/asm/setup.h
new file mode 100644 (file)
index 0000000..9cf2e46
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * Based on arch/arm/include/asm/setup.h
+ *
+ * Copyright (C) 1997-1999 Russell King
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_SETUP_H
+#define __ASM_SETUP_H
+
+#include <linux/types.h>
+
+#define COMMAND_LINE_SIZE      2048
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/sigcontext.h b/arch/arm64/include/uapi/asm/sigcontext.h
new file mode 100644 (file)
index 0000000..690ad51
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef _UAPI__ASM_SIGCONTEXT_H
+#define _UAPI__ASM_SIGCONTEXT_H
+
+#include <linux/types.h>
+
+/*
+ * Signal context structure - contains all info to do with the state
+ * before the signal handler was invoked.
+ */
+struct sigcontext {
+       __u64 fault_address;
+       /* AArch64 registers */
+       __u64 regs[31];
+       __u64 sp;
+       __u64 pc;
+       __u64 pstate;
+       /* 4K reserved for FP/SIMD state and future expansion */
+       __u8 __reserved[4096] __attribute__((__aligned__(16)));
+};
+
+/*
+ * Header to be used at the beginning of structures extending the user
+ * context. Such structures must be placed after the rt_sigframe on the stack
+ * and be 16-byte aligned. The last structure must be a dummy one with the
+ * magic and size set to 0.
+ */
+struct _aarch64_ctx {
+       __u32 magic;
+       __u32 size;
+};
+
+#define FPSIMD_MAGIC   0x46508001
+
+struct fpsimd_context {
+       struct _aarch64_ctx head;
+       __u32 fpsr;
+       __u32 fpcr;
+       __uint128_t vregs[32];
+};
+
+
+#endif /* _UAPI__ASM_SIGCONTEXT_H */
diff --git a/arch/arm64/include/uapi/asm/siginfo.h b/arch/arm64/include/uapi/asm/siginfo.h
new file mode 100644 (file)
index 0000000..5a74a08
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_SIGINFO_H
+#define __ASM_SIGINFO_H
+
+#define __ARCH_SI_PREAMBLE_SIZE        (4 * sizeof(int))
+
+#include <asm-generic/siginfo.h>
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/signal.h b/arch/arm64/include/uapi/asm/signal.h
new file mode 100644 (file)
index 0000000..8d1e723
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_SIGNAL_H
+#define __ASM_SIGNAL_H
+
+/* Required for AArch32 compatibility. */
+#define SA_RESTORER    0x04000000
+
+#include <asm-generic/signal.h>
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/stat.h b/arch/arm64/include/uapi/asm/stat.h
new file mode 100644 (file)
index 0000000..eeb702e
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#include <asm-generic/stat.h>
diff --git a/arch/arm64/include/uapi/asm/statfs.h b/arch/arm64/include/uapi/asm/statfs.h
new file mode 100644 (file)
index 0000000..6f62190
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_STATFS_H
+#define __ASM_STATFS_H
+
+#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
+
+#include <asm-generic/statfs.h>
+
+#endif
diff --git a/arch/arm64/include/uapi/asm/unistd.h b/arch/arm64/include/uapi/asm/unistd.h
new file mode 100644 (file)
index 0000000..1caadc2
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#include <asm-generic/unistd.h>
index 6538928ff1ab7bd494df8687645ed323325ecbc3..a6f3f7da6880bbcfc8ef307206421cf85540d7da 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/errno.h>
 #include <asm/thread_info.h>
 #include <asm/unistd.h>
+#include <asm/unistd32.h>
 
 /*
  * Bad Abort numbers
index ac3550ecc7b5c1f15c09bd3a20be8f5b459570bb..2ea3968367c265f99830db7f365668919f5f6a7c 100644 (file)
@@ -823,11 +823,11 @@ static int compat_ptrace_read_user(struct task_struct *tsk, compat_ulong_t off,
        if (off & 3)
                return -EIO;
 
-       if (off == PT_TEXT_ADDR)
+       if (off == COMPAT_PT_TEXT_ADDR)
                tmp = tsk->mm->start_code;
-       else if (off == PT_DATA_ADDR)
+       else if (off == COMPAT_PT_DATA_ADDR)
                tmp = tsk->mm->start_data;
-       else if (off == PT_TEXT_END_ADDR)
+       else if (off == COMPAT_PT_TEXT_END_ADDR)
                tmp = tsk->mm->end_code;
        else if (off < sizeof(compat_elf_gregset_t))
                return copy_regset_to_user(tsk, &user_aarch32_view,
index 0790a87a4346eb3b0d1825dcdfb599d828243b78..4654824747a4c99d2c6ee831adaf99cf86298464 100644 (file)
@@ -18,8 +18,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#define __SYSCALL_COMPAT
-
 #include <linux/compat.h>
 #include <linux/signal.h>
 #include <linux/syscalls.h>
@@ -28,7 +26,7 @@
 #include <asm/fpsimd.h>
 #include <asm/signal32.h>
 #include <asm/uaccess.h>
-#include <asm/unistd.h>
+#include <asm/unistd32.h>
 
 struct compat_sigaction {
        compat_uptr_t                   sa_handler;
@@ -126,19 +124,19 @@ struct compat_rt_sigframe {
  * For ARM syscalls, the syscall number has to be loaded into r7.
  * We do not support an OABI userspace.
  */
-#define MOV_R7_NR_SIGRETURN    (0xe3a07000 | __NR_sigreturn)
-#define SVC_SYS_SIGRETURN      (0xef000000 | __NR_sigreturn)
-#define MOV_R7_NR_RT_SIGRETURN (0xe3a07000 | __NR_rt_sigreturn)
-#define SVC_SYS_RT_SIGRETURN   (0xef000000 | __NR_rt_sigreturn)
+#define MOV_R7_NR_SIGRETURN    (0xe3a07000 | __NR_compat_sigreturn)
+#define SVC_SYS_SIGRETURN      (0xef000000 | __NR_compat_sigreturn)
+#define MOV_R7_NR_RT_SIGRETURN (0xe3a07000 | __NR_compat_rt_sigreturn)
+#define SVC_SYS_RT_SIGRETURN   (0xef000000 | __NR_compat_rt_sigreturn)
 
 /*
  * For Thumb syscalls, we also pass the syscall number via r7. We therefore
  * need two 16-bit instructions.
  */
-#define SVC_THUMB_SIGRETURN    (((0xdf00 | __NR_sigreturn) << 16) | \
-                                  0x2700 | __NR_sigreturn)
-#define SVC_THUMB_RT_SIGRETURN (((0xdf00 | __NR_rt_sigreturn) << 16) | \
-                                  0x2700 | __NR_rt_sigreturn)
+#define SVC_THUMB_SIGRETURN    (((0xdf00 | __NR_compat_sigreturn) << 16) | \
+                                  0x2700 | __NR_compat_sigreturn)
+#define SVC_THUMB_RT_SIGRETURN (((0xdf00 | __NR_compat_rt_sigreturn) << 16) | \
+                                  0x2700 | __NR_compat_rt_sigreturn)
 
 const compat_ulong_t aarch32_sigret_code[6] = {
        /*
@@ -819,5 +817,5 @@ asmlinkage int compat_sys_rt_sigqueueinfo(int pid, int sig,
 
 void compat_setup_restart_syscall(struct pt_regs *regs)
 {
-       regs->regs[7] = __NR_restart_syscall;
+       regs->regs[7] = __NR_compat_restart_syscall;
 }
index 905fcfb0ddd0b284b42237e82da9041e3050cee3..b120df37de3552e5a68479294ef9e6b037ea97fb 100644 (file)
@@ -50,13 +50,13 @@ asmlinkage long sys_execve(const char __user *filenamei,
                           struct pt_regs *regs)
 {
        long error;
-       char * filename;
+       struct filename *filename;
 
        filename = getname(filenamei);
        error = PTR_ERR(filename);
        if (IS_ERR(filename))
                goto out;
-       error = do_execve(filename, argv, envp, regs);
+       error = do_execve(filename->name, argv, envp, regs);
        putname(filename);
 out:
        return error;
index 5e4dc93cc31fd19c36d2c073c5bc59aff4f1b716..54c4aec47a088f9d32382980011b3cab6336fb80 100644 (file)
@@ -147,136 +147,12 @@ compat_sys_fanotify_mark_wrapper:
        b       sys_fanotify_mark
 ENDPROC(compat_sys_fanotify_mark_wrapper)
 
-/*
- * Use the compat system call wrappers.
- */
-#define sys_fork               compat_sys_fork_wrapper
-#define sys_open               compat_sys_open
-#define sys_execve             compat_sys_execve_wrapper
-#define sys_lseek              compat_sys_lseek_wrapper
-#define sys_mount              compat_sys_mount
-#define sys_ptrace             compat_sys_ptrace
-#define sys_times              compat_sys_times
-#define sys_ioctl              compat_sys_ioctl
-#define sys_fcntl              compat_sys_fcntl
-#define sys_ustat              compat_sys_ustat
-#define sys_sigaction          compat_sys_sigaction
-#define sys_sigsuspend         compat_sys_sigsuspend
-#define sys_sigpending         compat_sys_sigpending
-#define sys_setrlimit          compat_sys_setrlimit
-#define sys_getrusage          compat_sys_getrusage
-#define sys_gettimeofday       compat_sys_gettimeofday
-#define sys_settimeofday       compat_sys_settimeofday
-#define sys_statfs             compat_sys_statfs
-#define sys_fstatfs            compat_sys_fstatfs
-#define sys_setitimer          compat_sys_setitimer
-#define sys_getitimer          compat_sys_getitimer
-#define sys_newstat            compat_sys_newstat
-#define sys_newlstat           compat_sys_newlstat
-#define sys_newfstat           compat_sys_newfstat
-#define sys_wait4              compat_sys_wait4
-#define sys_sysinfo            compat_sys_sysinfo
-#define sys_sigreturn          compat_sys_sigreturn_wrapper
-#define sys_clone              compat_sys_clone_wrapper
-#define sys_adjtimex           compat_sys_adjtimex
-#define sys_sigprocmask                compat_sys_sigprocmask
-#define sys_getdents           compat_sys_getdents
-#define sys_select             compat_sys_select
-#define sys_readv              compat_sys_readv
-#define sys_writev             compat_sys_writev
-#define sys_sysctl             compat_sys_sysctl
-#define sys_sched_rr_get_interval compat_sys_sched_rr_get_interval
-#define sys_nanosleep          compat_sys_nanosleep
-#define sys_rt_sigreturn       compat_sys_rt_sigreturn_wrapper
-#define sys_rt_sigaction       compat_sys_rt_sigaction
-#define sys_rt_sigprocmask     compat_sys_rt_sigprocmask
-#define sys_rt_sigpending      compat_sys_rt_sigpending
-#define sys_rt_sigtimedwait    compat_sys_rt_sigtimedwait
-#define sys_rt_sigqueueinfo    compat_sys_rt_sigqueueinfo
-#define sys_rt_sigsuspend      compat_sys_rt_sigsuspend
-#define sys_pread64            compat_sys_pread64_wrapper
-#define sys_pwrite64           compat_sys_pwrite64_wrapper
-#define sys_sigaltstack                compat_sys_sigaltstack_wrapper
-#define sys_sendfile           compat_sys_sendfile
-#define sys_vfork              compat_sys_vfork_wrapper
-#define sys_getrlimit          compat_sys_getrlimit
-#define sys_mmap2              sys_mmap_pgoff
-#define sys_truncate64         compat_sys_truncate64_wrapper
-#define sys_ftruncate64                compat_sys_ftruncate64_wrapper
-#define sys_getdents64         compat_sys_getdents64
-#define sys_fcntl64            compat_sys_fcntl64
-#define sys_readahead          compat_sys_readahead_wrapper
-#define sys_futex              compat_sys_futex
-#define sys_sched_setaffinity  compat_sys_sched_setaffinity
-#define sys_sched_getaffinity  compat_sys_sched_getaffinity
-#define sys_io_setup           compat_sys_io_setup
-#define sys_io_getevents       compat_sys_io_getevents
-#define sys_io_submit          compat_sys_io_submit
-#define sys_lookup_dcookie     compat_sys_lookup_dcookie
-#define sys_timer_create       compat_sys_timer_create
-#define sys_timer_settime      compat_sys_timer_settime
-#define sys_timer_gettime      compat_sys_timer_gettime
-#define sys_clock_settime      compat_sys_clock_settime
-#define sys_clock_gettime      compat_sys_clock_gettime
-#define sys_clock_getres       compat_sys_clock_getres
-#define sys_clock_nanosleep    compat_sys_clock_nanosleep
-#define sys_statfs64           compat_sys_statfs64_wrapper
-#define sys_fstatfs64          compat_sys_fstatfs64_wrapper
-#define sys_utimes             compat_sys_utimes
-#define sys_fadvise64_64       compat_sys_fadvise64_64_wrapper
-#define sys_mq_open            compat_sys_mq_open
-#define sys_mq_timedsend       compat_sys_mq_timedsend
-#define sys_mq_timedreceive    compat_sys_mq_timedreceive
-#define sys_mq_notify          compat_sys_mq_notify
-#define sys_mq_getsetattr      compat_sys_mq_getsetattr
-#define sys_waitid             compat_sys_waitid
-#define sys_recv               compat_sys_recv
-#define sys_recvfrom           compat_sys_recvfrom
-#define sys_setsockopt         compat_sys_setsockopt
-#define sys_getsockopt         compat_sys_getsockopt
-#define sys_sendmsg            compat_sys_sendmsg
-#define sys_recvmsg            compat_sys_recvmsg
-#define sys_semctl             compat_sys_semctl
-#define sys_msgsnd             compat_sys_msgsnd
-#define sys_msgrcv             compat_sys_msgrcv
-#define sys_msgctl             compat_sys_msgctl
-#define sys_shmat              compat_sys_shmat
-#define sys_shmctl             compat_sys_shmctl
-#define sys_keyctl             compat_sys_keyctl
-#define sys_semtimedop         compat_sys_semtimedop
-#define sys_mbind              compat_sys_mbind
-#define sys_get_mempolicy      compat_sys_get_mempolicy
-#define sys_set_mempolicy      compat_sys_set_mempolicy
-#define sys_openat             compat_sys_openat
-#define sys_futimesat          compat_sys_futimesat
-#define sys_pselect6           compat_sys_pselect6
-#define sys_ppoll              compat_sys_ppoll
-#define sys_set_robust_list    compat_sys_set_robust_list
-#define sys_get_robust_list    compat_sys_get_robust_list
-#define sys_sync_file_range2   compat_sys_sync_file_range2_wrapper
-#define sys_vmsplice           compat_sys_vmsplice
-#define sys_move_pages         compat_sys_move_pages
-#define sys_epoll_pwait                compat_sys_epoll_pwait
-#define sys_kexec_load         compat_sys_kexec_load
-#define sys_utimensat          compat_sys_utimensat
-#define sys_signalfd           compat_sys_signalfd
-#define sys_fallocate          compat_sys_fallocate_wrapper
-#define sys_timerfd_settime    compat_sys_timerfd_settime
-#define sys_timerfd_gettime    compat_sys_timerfd_gettime
-#define sys_signalfd4          compat_sys_signalfd4
-#define sys_preadv             compat_sys_preadv
-#define sys_pwritev            compat_sys_pwritev
-#define sys_rt_tgsigqueueinfo  compat_sys_rt_tgsigqueueinfo
-#define sys_recvmmsg           compat_sys_recvmmsg
-#define sys_fanotify_mark      compat_sys_fanotify_mark_wrapper
-
 #undef __SYSCALL
 #define __SYSCALL(x, y)                .quad   y       // x
-#define __SYSCALL_COMPAT
 
 /*
  * The system calls table must be 4KB aligned.
  */
        .align  12
 ENTRY(compat_sys_call_table)
-#include <asm/unistd.h>
+#include <asm/unistd32.h>
index 93f10e27dc796764d50d6c4d18b7310cd36cbeb5..906e3bd270b06de91bbab8505df7877ca0300922 100644 (file)
@@ -18,8 +18,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#define __SYSCALL_COMPAT
-
 #include <linux/compat.h>
 #include <linux/personality.h>
 #include <linux/sched.h>
@@ -28,7 +26,7 @@
 #include <linux/uaccess.h>
 
 #include <asm/cacheflush.h>
-#include <asm/unistd.h>
+#include <asm/unistd32.h>
 
 asmlinkage int compat_sys_fork(struct pt_regs *regs)
 {
@@ -56,14 +54,14 @@ asmlinkage int compat_sys_execve(const char __user *filenamei,
                                 struct pt_regs *regs)
 {
        int error;
-       char * filename;
+       struct filename *filename;
 
        filename = getname(filenamei);
        error = PTR_ERR(filename);
        if (IS_ERR(filename))
                goto out;
-       error = compat_do_execve(filename, compat_ptr(argv), compat_ptr(envp),
-                                regs);
+       error = compat_do_execve(filename->name, compat_ptr(argv),
+                                       compat_ptr(envp), regs);
        putname(filename);
 out:
        return error;
index be0433ee5a8ec79c86a1d049cca58a6890df3230..4807ded352c581ae20ea3407884ff92888093c55 100644 (file)
@@ -1,6 +1,3 @@
-include include/asm-generic/Kbuild.asm
 
 generic-y      += clkdev.h
 generic-y      += exec.h
-
-header-y       += cachectl.h
diff --git a/arch/avr32/include/asm/auxvec.h b/arch/avr32/include/asm/auxvec.h
deleted file mode 100644 (file)
index d5dd435..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __ASM_AVR32_AUXVEC_H
-#define __ASM_AVR32_AUXVEC_H
-
-#endif /* __ASM_AVR32_AUXVEC_H */
diff --git a/arch/avr32/include/asm/bitsperlong.h b/arch/avr32/include/asm/bitsperlong.h
deleted file mode 100644 (file)
index 6dc0bb0..0000000
+++ /dev/null
@@