Avoid beyond bounds copy while caching ACL
[zen-stable.git] / arch / c6x / include / asm / unistd.h
blob6d54ea4262eb6e538c0c9a55dd513d23578c7360
1 /*
2 * Copyright (C) 2011 Texas Instruments Incorporated
4 * Based on arch/tile version.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation, version 2.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
13 * NON INFRINGEMENT. See the GNU General Public License for
14 * more details.
16 #if !defined(_ASM_C6X_UNISTD_H) || defined(__SYSCALL)
17 #define _ASM_C6X_UNISTD_H
19 /* Use the standard ABI for syscalls. */
20 #include <asm-generic/unistd.h>
22 /* C6X-specific syscalls. */
23 #define __NR_cache_sync (__NR_arch_specific_syscall + 0)
24 __SYSCALL(__NR_cache_sync, sys_cache_sync)
26 #endif /* _ASM_C6X_UNISTD_H */