Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 367f0b50 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Wire up renameat2 syscall.

parent 8471ac1b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -371,11 +371,12 @@
#define __NR_finit_module		(__NR_Linux + 348)
#define __NR_sched_setattr		(__NR_Linux + 349)
#define __NR_sched_getattr		(__NR_Linux + 350)
#define __NR_renameat2			(__NR_Linux + 351)

/*
 * Offset of the last Linux o32 flavoured syscall
 */
#define __NR_Linux_syscalls		350
#define __NR_Linux_syscalls		351

#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */

@@ -699,11 +700,12 @@
#define __NR_getdents64			(__NR_Linux + 308)
#define __NR_sched_setattr		(__NR_Linux + 309)
#define __NR_sched_getattr		(__NR_Linux + 310)
#define __NR_renameat2			(__NR_Linux + 311)

/*
 * Offset of the last Linux 64-bit flavoured syscall
 */
#define __NR_Linux_syscalls		310
#define __NR_Linux_syscalls		311

#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */

@@ -1031,11 +1033,12 @@
#define __NR_finit_module		(__NR_Linux + 312)
#define __NR_sched_setattr		(__NR_Linux + 313)
#define __NR_sched_getattr		(__NR_Linux + 314)
#define __NR_renameat2			(__NR_Linux + 315)

/*
 * Offset of the last N32 flavoured syscall
 */
#define __NR_Linux_syscalls		314
#define __NR_Linux_syscalls		315

#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */

+1 −0
Original line number Diff line number Diff line
@@ -577,3 +577,4 @@ EXPORT(sys_call_table)
	PTR	sys_finit_module
	PTR	sys_sched_setattr
	PTR	sys_sched_getattr		/* 4350 */
	PTR	sys_renameat2
+1 −0
Original line number Diff line number Diff line
@@ -430,4 +430,5 @@ EXPORT(sys_call_table)
	PTR	sys_getdents64
	PTR	sys_sched_setattr
	PTR	sys_sched_getattr		/* 5310 */
	PTR	sys_renameat2
	.size	sys_call_table,.-sys_call_table
+1 −0
Original line number Diff line number Diff line
@@ -423,4 +423,5 @@ EXPORT(sysn32_call_table)
	PTR	sys_finit_module
	PTR	sys_sched_setattr
	PTR	sys_sched_getattr
	PTR	sys_renameat2			/* 6315 */
	.size	sysn32_call_table,.-sysn32_call_table
+1 −0
Original line number Diff line number Diff line
@@ -556,4 +556,5 @@ EXPORT(sys32_call_table)
	PTR	sys_finit_module
	PTR	sys_sched_setattr
	PTR	sys_sched_getattr		/* 4350 */
	PTR	sys_renameat2
	.size	sys32_call_table,.-sys32_call_table