Просмотр исходного кода

CRIS: Add new timerfd syscall entries.

Jesper Nilsson 18 лет назад
Родитель
Сommit
7800029df3
3 измененных файлов с 9 добавлено и 3 удалено
  1. 3 1
      arch/cris/arch-v10/kernel/entry.S
  2. 3 1
      arch/cris/arch-v32/kernel/entry.S
  3. 3 1
      include/asm-cris/unistd.h

+ 3 - 1
arch/cris/arch-v10/kernel/entry.S

@@ -924,9 +924,11 @@ sys_call_table:
 	.long sys_epoll_pwait
 	.long sys_epoll_pwait
 	.long sys_utimensat		/* 320 */
 	.long sys_utimensat		/* 320 */
 	.long sys_signalfd
 	.long sys_signalfd
-	.long sys_ni_syscall
+	.long sys_timerfd_create
 	.long sys_eventfd
 	.long sys_eventfd
 	.long sys_fallocate
 	.long sys_fallocate
+	.long sys_timerfd_settime	/* 325 */
+	.long sys_timerfd_gettime
 
 
         /*
         /*
          * NOTE!! This doesn't have to be exact - we just have
          * NOTE!! This doesn't have to be exact - we just have

+ 3 - 1
arch/cris/arch-v32/kernel/entry.S

@@ -847,9 +847,11 @@ sys_call_table:
 	.long sys_epoll_pwait
 	.long sys_epoll_pwait
 	.long sys_utimensat		/* 320 */
 	.long sys_utimensat		/* 320 */
 	.long sys_signalfd
 	.long sys_signalfd
-	.long sys_timerfd
+	.long sys_timerfd_create
 	.long sys_eventfd
 	.long sys_eventfd
 	.long sys_fallocate
 	.long sys_fallocate
+	.long sys_timerfd_settime       /* 325 */
+	.long sys_timerfd_gettime
 
 
         /*
         /*
          * NOTE!! This doesn't have to be exact - we just have
          * NOTE!! This doesn't have to be exact - we just have

+ 3 - 1
include/asm-cris/unistd.h

@@ -326,9 +326,11 @@
 #define __NR_epoll_pwait	319
 #define __NR_epoll_pwait	319
 #define __NR_utimensat		320
 #define __NR_utimensat		320
 #define __NR_signalfd		321
 #define __NR_signalfd		321
-#define __NR_timerfd		322
+#define __NR_timerfd_create	322
 #define __NR_eventfd		323
 #define __NR_eventfd		323
 #define __NR_fallocate		324
 #define __NR_fallocate		324
+#define __NR_timerfd_settime    315
+#define __NR_timerfd_gettime    316
 
 
 #ifdef __KERNEL__
 #ifdef __KERNEL__