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:
Simon Marchi 2013-01-21 19:54:56 -05:00 committed by Chris Metcalf
parent e2ed522aaa
commit 6e4a2f7f94

View File

@ -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)