From patchwork Fri Apr 15 15:55:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 710951 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3FFu37E001988 for ; Fri, 15 Apr 2011 15:56:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750857Ab1DOP4D (ORCPT ); Fri, 15 Apr 2011 11:56:03 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:51310 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973Ab1DOP4C (ORCPT ); Fri, 15 Apr 2011 11:56:02 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 3F5768EE144; Fri, 15 Apr 2011 08:56:02 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XK28yDCVT8mG; Fri, 15 Apr 2011 08:56:02 -0700 (PDT) Received: from localhost.localdomain (merlin.hansenpartnership.com [76.243.235.54]) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id CE9298EE150; Fri, 15 Apr 2011 08:56:01 -0700 (PDT) From: James Bottomley To: Parisc List Cc: James Bottomley Subject: [PATCH 3/4] parisc: wire up the fhandle syscalls Date: Fri, 15 Apr 2011 08:55:46 -0700 Message-Id: <1302882947-3739-4-git-send-email-James.Bottomley@HansenPartnership.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1302882947-3739-1-git-send-email-James.Bottomley@HansenPartnership.com> References: <1302882947-3739-1-git-send-email-James.Bottomley@HansenPartnership.com> Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 15 Apr 2011 15:56:04 +0000 (UTC) Signed-off-by: James Bottomley --- arch/parisc/include/asm/unistd.h | 4 +++- arch/parisc/kernel/syscall_table.S | 2 ++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index 9af5fab..4266e44 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h @@ -817,8 +817,10 @@ #define __NR_fanotify_init (__NR_Linux + 322) #define __NR_fanotify_mark (__NR_Linux + 323) #define __NR_clock_adjtime (__NR_Linux + 324) +#define __NR_name_to_handle_at (__NR_Linux + 325) +#define __NR_open_by_handle_at (__NR_Linux + 326) -#define __NR_Linux_syscalls (__NR_clock_adjtime + 1) +#define __NR_Linux_syscalls (__NR_open_by_handle_at + 1) #define __IGNORE_select /* newselect */ diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index 473bf41..b5d2982 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S @@ -423,6 +423,8 @@ ENTRY_SAME(fanotify_init) ENTRY_COMP(fanotify_mark) ENTRY_COMP(clock_adjtime) + ENTRY_SAME(name_to_handle_at) /* 325 */ + ENTRY_COMP(open_by_handle_at) /* Nothing yet */