From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030619AbXEBFiP (ORCPT ); Wed, 2 May 2007 01:38:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2992764AbXEBFiO (ORCPT ); Wed, 2 May 2007 01:38:14 -0400 Received: from haxent.com ([65.99.219.155]:2186 "EHLO haxent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030619AbXEBFev (ORCPT ); Wed, 2 May 2007 01:34:51 -0400 Message-Id: <20070502053426.196574000@haxent.com.br> References: <20070502052235.914764000@haxent.com.br> User-Agent: quilt/0.45-1 Date: Wed, 02 May 2007 02:22:45 -0300 From: Davi Arnaut To: Andrew Morton Cc: Davide Libenzi , Linus Torvalds , Linux Kernel Mailing List Subject: [patch 10/22] pollfs: export the pltimer system call Content-Disposition: inline; filename=pollfs-timer-syscall.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Export the new pltimer syscall prototype. While there, make it "conditional". Signed-off-by: Davi E. M. Arnaut --- include/linux/syscalls.h | 2 ++ kernel/sys_ni.c | 1 + 2 files changed, 3 insertions(+) Index: linux-2.6/include/linux/syscalls.h =================================================================== --- linux-2.6.orig/include/linux/syscalls.h +++ linux-2.6/include/linux/syscalls.h @@ -607,4 +607,6 @@ int kernel_execve(const char *filename, asmlinkage long sys_plsignal(const sigset_t __user * set); +asmlinkage long sys_pltimer(void); + #endif Index: linux-2.6/kernel/sys_ni.c =================================================================== --- linux-2.6.orig/kernel/sys_ni.c +++ linux-2.6/kernel/sys_ni.c @@ -113,6 +113,7 @@ cond_syscall(sys_vm86); cond_syscall(compat_sys_ipc); cond_syscall(compat_sys_sysctl); cond_syscall(sys_plsignal); +cond_syscall(sys_pltimer); /* arch-specific weak syscall entries */ cond_syscall(sys_pciconfig_read); --