[patch 12/22] pollfs: x86_64, wire up the pltimer system call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make the pltimer syscall available to user-space on x86_64.

Signed-off-by: Davi E. M. Arnaut <[email protected]>

---
 arch/x86_64/ia32/ia32entry.S |    1 +
 include/asm-x86_64/unistd.h  |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.orig/arch/x86_64/ia32/ia32entry.S
+++ linux-2.6/arch/x86_64/ia32/ia32entry.S
@@ -720,4 +720,5 @@ ia32_sys_call_table:
 	.quad sys_getcpu
 	.quad sys_epoll_pwait
 	.quad sys_plsignal		/* 320 */
+	.quad sys_pltimer
 ia32_syscall_end:		
Index: linux-2.6/include/asm-x86_64/unistd.h
===================================================================
--- linux-2.6.orig/include/asm-x86_64/unistd.h
+++ linux-2.6/include/asm-x86_64/unistd.h
@@ -621,8 +621,10 @@ __SYSCALL(__NR_vmsplice, sys_vmsplice)
 __SYSCALL(__NR_move_pages, sys_move_pages)
 #define __NR_plsignal		280
 __SYSCALL(__NR_plsignal, sys_plsignal)
+#define __NR_pltimer		281
+__SYSCALL(__NR_pltimer, sys_pltimer)
 
-#define __NR_syscall_max __NR_plsignal
+#define __NR_syscall_max __NR_pltimer
 
 #ifndef __NO_STUBS
 #define __ARCH_WANT_OLD_READDIR

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux