diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2013-01-22 01:54:56 +0100 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-03-21 20:39:35 +0100 |
commit | 6e4a2f7f94cbac4e1f111f604ccf57dcbdef0a81 (patch) | |
tree | bdef55d60eac46441c47a62faf66fc22bfaf7128 /arch/tile | |
parent | tile: move declaration of sys_call_table to <asm/syscall.h> (diff) | |
download | linux-6e4a2f7f94cbac4e1f111f604ccf57dcbdef0a81.tar.xz linux-6e4a2f7f94cbac4e1f111f604ccf57dcbdef0a81.zip |
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')
-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 @@ /* 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) |