Skip to contentSkip to conversation

microblaze: wire up statx syscall

PATCH Applied Tobias Klauser 2 participants 2 messages May 19, 2017 – May 29, 2017 Microblaze architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 microblaze: wire up statx syscall

Add the new statx syscall.

---
 arch/microblaze/include/asm/unistd.h      | 2 +-
 arch/microblaze/include/uapi/asm/unistd.h | 1 +
 arch/microblaze/kernel/syscall_table.S    | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
arch/microblaze/include/asm/unistd.h +1 -1
index 032fed71223f..9774e1d9507b 100644
@@ -38,6 +38,6 @@
 
 #endif /* __ASSEMBLY__ */
 
-#define __NR_syscalls         398
+#define __NR_syscalls         399
 
 #endif /* _ASM_MICROBLAZE_UNISTD_H */
arch/microblaze/include/uapi/asm/unistd.h +1 -0
index d8086159d996..a88b3c11cc20 100644
@@ -413,5 +413,6 @@
 #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 */
arch/microblaze/kernel/syscall_table.S +1 -0
index 6841c2df14d9..c48ff4ad2070 100644
@@ -398,3 +398,4 @@ ENTRY(sys_call_table)
 	.long sys_pkey_mprotect		/* 395 */
 	.long sys_pkey_alloc
 	.long sys_pkey_free
+	.long sys_statx
Signature · 1 line
2.13.0
maintainer Applied
#1 lore raw
Quoted 38 lines · Tobias Klauser

Add the new statx syscall.

---
 arch/microblaze/include/asm/unistd.h      | 2 +-
 arch/microblaze/include/uapi/asm/unistd.h | 1 +
 arch/microblaze/kernel/syscall_table.S    | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
arch/microblaze/include/asm/unistd.h +1 -1
index 032fed71223f..9774e1d9507b 100644
@@ -38,6 +38,6 @@
 
 #endif /* __ASSEMBLY__ */
 
-#define __NR_syscalls         398
+#define __NR_syscalls         399
 
 #endif /* _ASM_MICROBLAZE_UNISTD_H */
arch/microblaze/include/uapi/asm/unistd.h +1 -0
index d8086159d996..a88b3c11cc20 100644
@@ -413,5 +413,6 @@
 #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 */
arch/microblaze/kernel/syscall_table.S +0 -0
index 6841c2df14d9..c48ff4ad2070 100644

arch/microblaze/kernel/syscall_table.S ENTRY(sys_call_table) · line 401

Quoted 4 lines
arch/microblaze/kernel/syscall_table.S +1 -0
@@ -398,3 +398,4 @@ ENTRY(sys_call_table)
 	.long sys_pkey_mprotect		/* 395 */
 	.long sys_pkey_alloc
 	.long sys_pkey_free
+	.long sys_statx

Applied.

Thanks,
Michal

Signature · 5 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs