projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ed522
)
tile: Add definition of NR_syscalls
author
Simon Marchi
<simon.marchi@polymtl.ca>
Tue, 22 Jan 2013 00:54:56 +0000
(19:54 -0500)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Thu, 21 Mar 2013 19:39:35 +0000
(15:39 -0400)
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>
arch/tile/include/uapi/asm/unistd.h
patch
|
blob
|
history
diff --git
a/arch/tile/include/uapi/asm/unistd.h
b/arch/tile/include/uapi/asm/unistd.h
index cd7b6dd9d4719d199b3bbbf2da132b6b0b8e77a4..3866397aaf5ae7c2a939911ed84a5130c50c9962 100644
(file)
--- 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)