diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2013-01-21 19:54:56 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-03-21 15:39:35 -0400 |
commit | 6e4a2f7f94cbac4e1f111f604ccf57dcbdef0a81 (patch) | |
tree | bdef55d60eac46441c47a62faf66fc22bfaf7128 /arch/tile/include | |
parent | e2ed522aaad79db339cecbbc4ae2a0d422ee4c4f (diff) |
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>
Diffstat (limited to 'arch/tile/include')
-rw-r--r-- | arch/tile/include/uapi/asm/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/tile/include/uapi/asm/unistd.h b/arch/tile/include/uapi/asm/unistd.h index cd7b6dd9d471..3866397aaf5a 100644 --- a/arch/tile/include/uapi/asm/unistd.h +++ b/arch/tile/include/uapi/asm/unistd.h | |||
@@ -20,6 +20,8 @@ | |||
20 | /* Use the standard ABI for syscalls. */ | 20 | /* Use the standard ABI for syscalls. */ |
21 | #include <asm-generic/unistd.h> | 21 | #include <asm-generic/unistd.h> |
22 | 22 | ||
23 | #define NR_syscalls __NR_syscalls | ||
24 | |||
23 | /* Additional Tilera-specific syscalls. */ | 25 | /* Additional Tilera-specific syscalls. */ |
24 | #define __NR_cacheflush (__NR_arch_specific_syscall + 1) | 26 | #define __NR_cacheflush (__NR_arch_specific_syscall + 1) |
25 | __SYSCALL(__NR_cacheflush, sys_cacheflush) | 27 | __SYSCALL(__NR_cacheflush, sys_cacheflush) |