Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756133Ab0KKTac (ORCPT ); Thu, 11 Nov 2010 14:30:32 -0500 Received: from filtteri1.pp.htv.fi ([213.243.153.184]:42175 "EHLO filtteri1.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064Ab0KKTaa (ORCPT ); Thu, 11 Nov 2010 14:30:30 -0500 From: Alexander Shishkin To: linux-kernel@vger.kernel.org Cc: John Stultz , Andrew Morton , "H. Peter Anvin" , Kay Sievers , Greg KH , Chris Friesen , Linus Torvalds , "Kirill A. Shutemov" , Thomas Gleixner , Alexander Shishkin , Russell King , David Howells , Christoph Hellwig , linux-arm-kernel@lists.infradead.org Subject: [PATCHv6 2/7] wire up sys_time_change_notify() on ARM Date: Thu, 11 Nov 2010 21:29:57 +0200 Message-Id: <1289503802-22444-3-git-send-email-virtuoso@slind.org> X-Mailer: git-send-email 1.7.2.1.45.gb66c2 In-Reply-To: <1289503802-22444-1-git-send-email-virtuoso@slind.org> References: <1289503802-22444-1-git-send-email-virtuoso@slind.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1787 Lines: 50 sys_time_change_notify() is a new syscall with number and types of parameters such that no ARM-specific processing is needed. Tested with 2.6.36-rc3 using Documentation/time-change-notify-example.c. Signed-off-by: Alexander Shishkin CC: Russell King CC: Andrew Morton CC: David Howells CC: Christoph Hellwig CC: "H. Peter Anvin" CC: linux-arm-kernel@lists.infradead.org CC: linux-kernel@vger.kernel.org --- arch/arm/include/asm/unistd.h | 1 + arch/arm/kernel/calls.S | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index c891eb7..45d5dc9 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -396,6 +396,7 @@ #define __NR_fanotify_init (__NR_SYSCALL_BASE+367) #define __NR_fanotify_mark (__NR_SYSCALL_BASE+368) #define __NR_prlimit64 (__NR_SYSCALL_BASE+369) +#define __NR_time_change_notify (__NR_SYSCALL_BASE+370) /* * The following SWIs are ARM private. diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 5c26ecc..633e71a 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S @@ -379,6 +379,7 @@ CALL(sys_fanotify_init) CALL(sys_fanotify_mark) CALL(sys_prlimit64) + CALL(sys_time_change_notify) #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls #define syscalls_counted -- 1.7.2.1.45.gb66c2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/