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

Commit ce26efde authored by Richard Cochran's avatar Richard Cochran Committed by Thomas Gleixner
Browse files

x86: Add clock_adjtime for x86



This patch adds the clock_adjtime system call to the x86 architecture.

Signed-off-by: default avatarRichard Cochran <richard.cochran@omicron.at>
Acked-by: default avatarJohn Stultz <johnstul@us.ibm.com>
LKML-Reference: <20110201134419.968905083@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f1f1d5eb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -851,4 +851,5 @@ ia32_sys_call_table:
	.quad sys_fanotify_init
	.quad sys32_fanotify_mark
	.quad sys_prlimit64		/* 340 */
	.quad compat_sys_clock_adjtime
ia32_syscall_end:
+2 −1
Original line number Diff line number Diff line
@@ -346,10 +346,11 @@
#define __NR_fanotify_init	338
#define __NR_fanotify_mark	339
#define __NR_prlimit64		340
#define __NR_clock_adjtime	341

#ifdef __KERNEL__

#define NR_syscalls 341
#define NR_syscalls 342

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
+2 −0
Original line number Diff line number Diff line
@@ -669,6 +669,8 @@ __SYSCALL(__NR_fanotify_init, sys_fanotify_init)
__SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
#define __NR_prlimit64				302
__SYSCALL(__NR_prlimit64, sys_prlimit64)
#define __NR_clock_adjtime			303
__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime)

#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
+1 −0
Original line number Diff line number Diff line
@@ -340,3 +340,4 @@ ENTRY(sys_call_table)
	.long sys_fanotify_init
	.long sys_fanotify_mark
	.long sys_prlimit64		/* 340 */
	.long sys_clock_adjtime