Commit 6e4a2f7f authored by Simon Marchi's avatar Simon Marchi Committed by Chris Metcalf

tile: Add definition of NR_syscalls

It is required by the syscall tracepoint mechanism.
Signed-off-by: default avatarSimon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent e2ed522a
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
/* Use the standard ABI for syscalls. */ /* Use the standard ABI for syscalls. */
#include <asm-generic/unistd.h> #include <asm-generic/unistd.h>
#define NR_syscalls __NR_syscalls
/* Additional Tilera-specific syscalls. */ /* Additional Tilera-specific syscalls. */
#define __NR_cacheflush (__NR_arch_specific_syscall + 1) #define __NR_cacheflush (__NR_arch_specific_syscall + 1)
__SYSCALL(__NR_cacheflush, sys_cacheflush) __SYSCALL(__NR_cacheflush, sys_cacheflush)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment