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

Commit 7a6d4f38 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

[MIPS] Wire up utimensat, signalfd, timerfd, eventfd

parent d3a50911
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -657,7 +657,11 @@ einval: li v0, -EINVAL
	sys	sys_getcpu		3
	sys	sys_epoll_pwait		6
	sys	sys_ioprio_set		3
	sys	sys_ioprio_get		2
	sys	sys_ioprio_get		2	/* 4315 */
	sys	sys_utimensat		4
	sys	sys_signalfd		3
	sys	sys_timerfd		4
	sys	sys_eventfd		1
	.endm

	/* We pre-compute the number of _instruction_ bytes needed to
+4 −0
Original line number Diff line number Diff line
@@ -473,4 +473,8 @@ sys_call_table:
	PTR	sys_epoll_pwait
	PTR	sys_ioprio_set
	PTR	sys_ioprio_get
	PTR	sys_utimensat			/* 5275 */
	PTR	sys_signalfd
	PTR	sys_timerfd
	PTR	sys_eventfd
	.size	sys_call_table,.-sys_call_table
+4 −0
Original line number Diff line number Diff line
@@ -399,4 +399,8 @@ EXPORT(sysn32_call_table)
	PTR	compat_sys_epoll_pwait
	PTR	sys_ioprio_set
	PTR	sys_ioprio_get
	PTR	compat_sys_utimensat
	PTR	compat_sys_signalfd		/* 5280 */
	PTR	compat_sys_timerfd
	PTR	sys_eventfd
	.size	sysn32_call_table,.-sysn32_call_table
+4 −0
Original line number Diff line number Diff line
@@ -521,4 +521,8 @@ sys_call_table:
	PTR	compat_sys_epoll_pwait
	PTR	sys_ioprio_set
	PTR	sys_ioprio_get			/* 4315 */
	PTR	compat_sys_utimensat
	PTR	compat_sys_signalfd
	PTR	compat_sys_timerfd
	PTR	sys_eventfd
	.size	sys_call_table,.-sys_call_table
+18 −6
Original line number Diff line number Diff line
@@ -336,16 +336,20 @@
#define __NR_epoll_pwait		(__NR_Linux + 313)
#define __NR_ioprio_set			(__NR_Linux + 314)
#define __NR_ioprio_get			(__NR_Linux + 315)
#define __NR_utimensat			(__NR_Linux + 316)
#define __NR_signalfd			(__NR_Linux + 317)
#define __NR_timerfd			(__NR_Linux + 318)
#define __NR_eventfd			(__NR_Linux + 319)

/*
 * Offset of the last Linux o32 flavoured syscall
 */
#define __NR_Linux_syscalls		315
#define __NR_Linux_syscalls		319

#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */

#define __NR_O32_Linux			4000
#define __NR_O32_Linux_syscalls		315
#define __NR_O32_Linux_syscalls		319

#if _MIPS_SIM == _MIPS_SIM_ABI64

@@ -628,16 +632,20 @@
#define __NR_epoll_pwait		(__NR_Linux + 272)
#define __NR_ioprio_set			(__NR_Linux + 273)
#define __NR_ioprio_get			(__NR_Linux + 274)
#define __NR_utimensat			(__NR_Linux + 275)
#define __NR_signalfd			(__NR_Linux + 276)
#define __NR_timerfd			(__NR_Linux + 277)
#define __NR_eventfd			(__NR_Linux + 278)

/*
 * Offset of the last Linux 64-bit flavoured syscall
 */
#define __NR_Linux_syscalls		274
#define __NR_Linux_syscalls		278

#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */

#define __NR_64_Linux			5000
#define __NR_64_Linux_syscalls		274
#define __NR_64_Linux_syscalls		278

#if _MIPS_SIM == _MIPS_SIM_NABI32

@@ -924,16 +932,20 @@
#define __NR_epoll_pwait		(__NR_Linux + 276)
#define __NR_ioprio_set			(__NR_Linux + 277)
#define __NR_ioprio_get			(__NR_Linux + 278)
#define __NR_utimensat			(__NR_Linux + 279)
#define __NR_signalfd			(__NR_Linux + 280)
#define __NR_timerfd			(__NR_Linux + 281)
#define __NR_eventfd			(__NR_Linux + 282)

/*
 * Offset of the last N32 flavoured syscall
 */
#define __NR_Linux_syscalls		278
#define __NR_Linux_syscalls		282

#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */

#define __NR_N32_Linux			6000
#define __NR_N32_Linux_syscalls		278
#define __NR_N32_Linux_syscalls		282

#ifdef __KERNEL__