From 6e4a2f7f94cbac4e1f111f604ccf57dcbdef0a81 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 21 Jan 2013 19:54:56 -0500 Subject: [PATCH] tile: Add definition of NR_syscalls It is required by the syscall tracepoint mechanism. Signed-off-by: Simon Marchi Signed-off-by: Chris Metcalf --- arch/tile/include/uapi/asm/unistd.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#define NR_syscalls __NR_syscalls + /* Additional Tilera-specific syscalls. */ #define __NR_cacheflush (__NR_arch_specific_syscall + 1) __SYSCALL(__NR_cacheflush, sys_cacheflush) -- 2.39.5