Skip to content

Commit

Permalink
tile: Add definition of NR_syscalls
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Simon Marchi authored and Chris Metcalf committed Mar 21, 2013
1 parent e2ed522 commit 6e4a2f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/tile/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6e4a2f7

Please sign in to comment.