microblaze: wire up statx syscall
authorTobias Klauser <tklauser@distanz.ch>
Fri, 19 May 2017 11:43:29 +0000 (13:43 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 May 2017 09:03:56 +0000 (11:03 +0200)
Add the new statx syscall.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/unistd.h
arch/microblaze/include/uapi/asm/unistd.h
arch/microblaze/kernel/syscall_table.S

index 032fed71223f54358a467d5df14d0b5fe176667a..9774e1d9507baebbd6efe9bcf67bb88bcd214d82 100644 (file)
@@ -38,6 +38,6 @@
 
 #endif /* __ASSEMBLY__ */
 
-#define __NR_syscalls         398
+#define __NR_syscalls         399
 
 #endif /* _ASM_MICROBLAZE_UNISTD_H */
index d8086159d996dfdec4503fa95cf1638637f8932e..a88b3c11cc20064c5e5430de5bc72384fb1f515b 100644 (file)
 #define __NR_pkey_mprotect     395
 #define __NR_pkey_alloc                396
 #define __NR_pkey_free         397
+#define __NR_statx             398
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
index 6841c2df14d9acdfe30133baac0833111bf645d5..c48ff4ad2070db17aff17432b20295b3ec40ff58 100644 (file)
@@ -398,3 +398,4 @@ ENTRY(sys_call_table)
        .long sys_pkey_mprotect         /* 395 */
        .long sys_pkey_alloc
        .long sys_pkey_free
+       .long sys_statx