Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jesper Nilsson and committed by
Linus Torvalds
87ffbe67 07f2402b

+3 -3
+3 -3
include/asm-cris/unistd.h
··· 329 329 #define __NR_timerfd_create 322 330 330 #define __NR_eventfd 323 331 331 #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 334 334 335 335 #ifdef __KERNEL__ 336 336 337 - #define NR_syscalls 325 337 + #define NR_syscalls 327 338 338 339 339 #include <asm/arch/unistd.h> 340 340