asm-generic: Make time32 syscall numbers optional
[linux-block.git] / arch / c6x / include / uapi / asm / unistd.h
CommitLineData
e2be04c7 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
8a0c9e03
AJ
2/*
3 * Copyright (C) 2011 Texas Instruments Incorporated
4 *
5 * Based on arch/tile version.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, version 2.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
14 * NON INFRINGEMENT. See the GNU General Public License for
15 * more details.
16 */
8a0c9e03 17
b0da6d44 18#define __ARCH_WANT_RENAMEAT
bf4b6a7d 19#define __ARCH_WANT_STAT64
80d7da1c 20#define __ARCH_WANT_SET_GET_RLIMIT
951b3961 21#define __ARCH_WANT_SYS_CLONE
c8ce48f0 22#define __ARCH_WANT_TIME32_SYSCALLS
39fcf440 23
8a0c9e03
AJ
24/* Use the standard ABI for syscalls. */
25#include <asm-generic/unistd.h>
26
27/* C6X-specific syscalls. */
28#define __NR_cache_sync (__NR_arch_specific_syscall + 0)
29__SYSCALL(__NR_cache_sync, sys_cache_sync)