OSDN Git Service

Clean up <sched.h>.
authorElliott Hughes <enh@google.com>
Thu, 2 Jan 2014 20:05:50 +0000 (12:05 -0800)
committerElliott Hughes <enh@google.com>
Thu, 2 Jan 2014 20:05:50 +0000 (12:05 -0800)
commit887e1140fe7596fa1239a0bc802d2cdb51c57d3c
treede277e97257d5397d6ae36287a080477966dac5c
parent17c9fe7d2f396294a09344a253b2a16ae400df14
Clean up <sched.h>.

This patch switches to using the uapi constants. It also adds the missing
setns system call, fixes sched_getcpu's error behavior, and fixes the
gensyscalls script now ARM is uapi-only too.

Change-Id: I8e16b1693d6d32cd9b8499e46b5d8b0a50bc4f1d
16 files changed:
libc/Android.mk
libc/SYSCALLS.TXT
libc/arch-aarch64/syscalls.mk
libc/arch-aarch64/syscalls/setns.S [new file with mode: 0644]
libc/arch-arm/syscalls.mk
libc/arch-arm/syscalls/setns.S [new file with mode: 0644]
libc/arch-mips/syscalls.mk
libc/arch-mips/syscalls/setns.S [new file with mode: 0644]
libc/arch-x86/syscalls.mk
libc/arch-x86/syscalls/setns.S [new file with mode: 0644]
libc/arch-x86_64/syscalls.mk
libc/arch-x86_64/syscalls/setns.S [new file with mode: 0644]
libc/bionic/sched_getcpu.cpp [moved from libc/bionic/sched_getcpu.c with 87% similarity]
libc/include/sched.h
libc/include/sys/glibc-syscalls.h
libc/tools/gensyscalls.py