mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
tile: Add definition of NR_syscalls
It is required by the syscall tracepoint mechanism. Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:
parent
e2ed522aaa
commit
6e4a2f7f94
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
/* Use the standard ABI for syscalls. */
|
||||
#include <asm-generic/unistd.h>
|
||||
|
||||
#define NR_syscalls __NR_syscalls
|
||||
|
||||
/* Additional Tilera-specific syscalls. */
|
||||
#define __NR_cacheflush (__NR_arch_specific_syscall + 1)
|
||||
__SYSCALL(__NR_cacheflush, sys_cacheflush)
|
||||
|
|
Loading…
Reference in a new issue