Skip to content

Commit

Permalink
microblaze: Move __NR_syscalls from uapi
Browse files Browse the repository at this point in the history
The reason is that other applications like strace
think that every __NR_xx is syscall.
Also __NR_syscalls is not used by user applications/libs.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Michal Simek committed Jul 10, 2013
1 parent c421cee commit 40c2702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions arch/microblaze/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@
#define __ARCH_WANT_SYS_FORK

#endif /* __ASSEMBLY__ */

#define __NR_syscalls 381

#endif /* _ASM_MICROBLAZE_UNISTD_H */
2 changes: 0 additions & 2 deletions arch/microblaze/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,4 @@
#define __NR_kcmp 379
#define __NR_finit_module 380

#define __NR_syscalls 381

#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */

0 comments on commit 40c2702

Please sign in to comment.