diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-07-08 09:50:24 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-07-10 07:32:09 +0200 |
commit | 40c2702a02b755e0183b702778331b351f3be20c (patch) | |
tree | 5d6115deae95c90e1f1a3f1ef73605049c2d41de | |
parent | c421cee4e897c50688e04639189b4f5f4c8e57c6 (diff) |
microblaze: Move __NR_syscalls from uapi
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>
-rw-r--r-- | arch/microblaze/include/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/microblaze/include/uapi/asm/unistd.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index 6dece2d002d..b14232b6878 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/arch/microblaze/include/asm/unistd.h @@ -38,4 +38,7 @@ #define __ARCH_WANT_SYS_FORK #endif /* __ASSEMBLY__ */ + +#define __NR_syscalls 381 + #endif /* _ASM_MICROBLAZE_UNISTD_H */ diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index 5f7fe7582f3..20043b67d15 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h @@ -397,6 +397,4 @@ #define __NR_kcmp 379 #define __NR_finit_module 380 -#define __NR_syscalls 381 - #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ |