aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-07-08 03:50:24 -0400
committerMichal Simek <michal.simek@xilinx.com>2013-07-10 01:32:09 -0400
commit40c2702a02b755e0183b702778331b351f3be20c (patch)
tree5d6115deae95c90e1f1a3f1ef73605049c2d41de /arch/microblaze
parentc421cee4e897c50688e04639189b4f5f4c8e57c6 (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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/unistd.h3
-rw-r--r--arch/microblaze/include/uapi/asm/unistd.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h
index 6dece2d002dc..b14232b6878f 100644
--- a/arch/microblaze/include/asm/unistd.h
+++ b/arch/microblaze/include/asm/unistd.h
@@ -38,4 +38,7 @@
38#define __ARCH_WANT_SYS_FORK 38#define __ARCH_WANT_SYS_FORK
39 39
40#endif /* __ASSEMBLY__ */ 40#endif /* __ASSEMBLY__ */
41
42#define __NR_syscalls 381
43
41#endif /* _ASM_MICROBLAZE_UNISTD_H */ 44#endif /* _ASM_MICROBLAZE_UNISTD_H */
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h
index 5f7fe7582f3a..20043b67d158 100644
--- a/arch/microblaze/include/uapi/asm/unistd.h
+++ b/arch/microblaze/include/uapi/asm/unistd.h
@@ -397,6 +397,4 @@
397#define __NR_kcmp 379 397#define __NR_kcmp 379
398#define __NR_finit_module 380 398#define __NR_finit_module 380
399 399
400#define __NR_syscalls 381
401
402#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ 400#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */