summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/unistd.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-07-08 09:50:24 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-07-10 07:32:09 +0200
commit40c2702a02b755e0183b702778331b351f3be20c (patch)
tree5d6115deae95c90e1f1a3f1ef73605049c2d41de /arch/microblaze/include/asm/unistd.h
parentmicroblaze: Enable KGDB in defconfig (diff)
downloadlinux-40c2702a02b755e0183b702778331b351f3be20c.tar.xz
linux-40c2702a02b755e0183b702778331b351f3be20c.zip
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/include/asm/unistd.h')
-rw-r--r--arch/microblaze/include/asm/unistd.h3
1 files changed, 3 insertions, 0 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 @@
#define __ARCH_WANT_SYS_FORK
#endif /* __ASSEMBLY__ */
+
+#define __NR_syscalls 381
+
#endif /* _ASM_MICROBLAZE_UNISTD_H */