Skip to content

Commit 87ffbe6

Browse files
jniaxLinus Torvalds
authored andcommitted
cris: correct syscall numbers in unistd.h for timerfd_settime and timerfd_gettime
Last commit for unistd was not correct, it only had a partial update of syscall numbers for __NR_timerfd_settime and __NR_timerfd_gettime. Also, NR_syscalls was not incremented for the new syscalls. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Mikael Starvik <mikael.starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 07f2402 commit 87ffbe6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/asm-cris/unistd.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,12 @@
329329
#define __NR_timerfd_create 322
330330
#define __NR_eventfd 323
331331
#define __NR_fallocate 324
332-
#define __NR_timerfd_settime 315
333-
#define __NR_timerfd_gettime 316
332+
#define __NR_timerfd_settime 325
333+
#define __NR_timerfd_gettime 326
334334

335335
#ifdef __KERNEL__
336336

337-
#define NR_syscalls 325
337+
#define NR_syscalls 327
338338

339339
#include <asm/arch/unistd.h>
340340

0 commit comments

Comments
 (0)