summary refs log tree commit diff
path: root/arch/tile/lib
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-05-28 23:01:00 -0400
committerChris Metcalf <cmetcalf@tilera.com>2010-06-04 17:02:25 -0400
commit5360bd776f73d0a7da571d72a09a03f237e99900 (patch)
tree618ff2afce9eba2e744410c9af7f59d2d69a69cd /arch/tile/lib
parentb8a3c6091a2337391ed878693604d712d6420241 (diff)
downloadlinux-5360bd776f73d0a7da571d72a09a03f237e99900.tar.gz
Fix up the "generic" unistd.h ABI to be more useful.
Reserve 16 "architecture-specific" syscall numbers starting at 244.

Allow use of the sys_sync_file_range2() API with the generic unistd.h
by specifying __ARCH_WANT_SYNC_FILE_RANGE2 before including it.

Allow using the generic unistd.h to create the "compat" syscall table
by specifying __SYSCALL_COMPAT before including it.

Use sys_fadvise64_64 for __NR3264_fadvise64 in both 32- and 64-bit mode.

Request the appropriate __ARCH_WANT_COMPAT_SYS_xxx values when
some deprecated syscall modes are selected.

As part of this change to fix up the syscalls, also provide a couple
of missing signal-related syscall prototypes in <linux/syscalls.h>.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/tile/lib')
0 files changed, 0 insertions, 0 deletions