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 6dece2d002dca98e5247f1ee043830cd8769c13f..b14232b6878fca5889e4f91814acaa28f1603170 100644 (file)
@@ -38,4 +38,7 @@
 #define __ARCH_WANT_SYS_FORK
 
 #endif /* __ASSEMBLY__ */
+
+#define __NR_syscalls         381
+
 #endif /* _ASM_MICROBLAZE_UNISTD_H */
index 5f7fe7582f3ae3a483a39ae6419b2867ab4db76e..20043b67d158ddd07ff6fbf36050f28562fd96e1 100644 (file)
 #define __NR_kcmp              379
 #define __NR_finit_module      380
 
-#define __NR_syscalls          381
-
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */