microblaze: Move __NR_syscalls from uapi
authorMichal Simek <michal.simek@xilinx.com>
Mon, 8 Jul 2013 07:50:24 +0000 (09:50 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 10 Jul 2013 05:32:09 +0000 (07:32 +0200)
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>
arch/microblaze/include/asm/unistd.h
arch/microblaze/include/uapi/asm/unistd.h

index 6dece2d..b14232b 100644 (file)
@@ -38,4 +38,7 @@
 #define __ARCH_WANT_SYS_FORK
 
 #endif /* __ASSEMBLY__ */
+
+#define __NR_syscalls         381
+
 #endif /* _ASM_MICROBLAZE_UNISTD_H */
index 5f7fe75..20043b6 100644 (file)
 #define __NR_kcmp              379
 #define __NR_finit_module      380
 
-#define __NR_syscalls          381
-
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */