Aurelien Jacquiot | 8a0c9e0 | 2011-10-04 12:21:06 -0400 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2011 Texas Instruments Incorporated |
| 3 | * |
| 4 | * Based on arch/tile version. |
| 5 | * |
| 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. |
| 9 | * |
| 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. |
| 15 | */ |
| 16 | #if !defined(_ASM_C6X_UNISTD_H) || defined(__SYSCALL) |
| 17 | #define _ASM_C6X_UNISTD_H |
| 18 | |
| 19 | /* Use the standard ABI for syscalls. */ |
| 20 | #include <asm-generic/unistd.h> |
| 21 | |
| 22 | /* C6X-specific syscalls. */ |
| 23 | #define __NR_cache_sync (__NR_arch_specific_syscall + 0) |
| 24 | __SYSCALL(__NR_cache_sync, sys_cache_sync) |
| 25 | |
| 26 | #endif /* _ASM_C6X_UNISTD_H */ |