LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] CRIS: Correct syscall numbers in unistd.h for timerfd_settime and timerfd_gettime
@ 2008-02-27 16:29 Jesper Nilsson
  0 siblings, 0 replies; only message in thread
From: Jesper Nilsson @ 2008-02-27 16:29 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, mikael.starvik, jesper.nilsson

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>
---
 include/asm-cris/unistd.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-cris/unistd.h b/include/asm-cris/unistd.h
index 007cb16..76398ef 100644
--- a/include/asm-cris/unistd.h
+++ b/include/asm-cris/unistd.h
@@ -329,12 +329,12 @@
 #define __NR_timerfd_create	322
 #define __NR_eventfd		323
 #define __NR_fallocate		324
-#define __NR_timerfd_settime    315
-#define __NR_timerfd_gettime    316
+#define __NR_timerfd_settime	325
+#define __NR_timerfd_gettime	326
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 325
+#define NR_syscalls 327
 
 #include <asm/arch/unistd.h>
 
-- 
1.5.3.6.970.gd25430


/^JN - Jesper Nilsson
--
               Jesper Nilsson -- jesper.nilsson@axis.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-27 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-27 16:29 [PATCH] CRIS: Correct syscall numbers in unistd.h for timerfd_settime and timerfd_gettime Jesper Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).