summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2013-01-21 19:54:56 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-03-21 15:39:35 -0400
commit6e4a2f7f94cbac4e1f111f604ccf57dcbdef0a81 (patch)
treebdef55d60eac46441c47a62faf66fc22bfaf7128 /arch/tile
parente2ed522aaad79db339cecbbc4ae2a0d422ee4c4f (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')
-rw-r--r--arch/tile/include/uapi/asm/unistd.h2
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 cd7b6dd9d47..3866397aaf5 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)