From patchwork Thu Jan 13 11:32:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 78713 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7A5C2B6EF1 for ; Thu, 13 Jan 2011 22:34:36 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932953Ab1AMLdH (ORCPT ); Thu, 13 Jan 2011 06:33:07 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:39048 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932732Ab1AMLdC (ORCPT ); Thu, 13 Jan 2011 06:33:02 -0500 Received: by mail-fx0-f46.google.com with SMTP id 20so1558131fxm.19 for ; Thu, 13 Jan 2011 03:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=7Stmn+hi9njUk77O9RE3uf8XpH3hAqspZ6B6QxWtPgU=; b=tu8OBIEYmyTjcVWyyO5BSY34iPDSxhIA7oF2MhCGsm3XO2xfOnURXyARuKzicdrymH EEuQ1Wjc9DBoQrzrpgSoYuLPS/v5paw5IPxF6LeERPWgGoC1kvr5o7G7bmB9BFzRdI/v AHmVCR+DKMkisq5feE2uVPyZRHO7n8RxWFB4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=sDYxlvyxQLceUPkG5Sb/65tZFqzikXE64if5SGTZKWk4FQjWuQ7hvUTwRJ3eOXfYnx wJoSgTVHqpJKW8VFMWOrgwwxsIfqusy88AMc4GHBsRXBcP3IQ7l2fXtH5yK31D9c/mhV L8BO3UILHwPl7ElXTQip1y2P6J3CaeYTsB+d4= Received: by 10.223.97.72 with SMTP id k8mr2201075fan.65.1294918381483; Thu, 13 Jan 2011 03:33:01 -0800 (PST) Received: from riccoc20.at.omicron.at (vs162244.vserver.de [62.75.162.244]) by mx.google.com with ESMTPS id y1sm596294fak.15.2011.01.13.03.32.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 03:33:00 -0800 (PST) Date: Thu, 13 Jan 2011 12:32:58 +0100 From: Richard Cochran To: linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org, netdev@vger.kernel.org, Alan Cox , Arnd Bergmann , Christoph Lameter , David Miller , John Stultz , Krzysztof Halasa , Peter Zijlstra , Rodolfo Giometti , Thomas Gleixner Subject: [PATCH V9 04/13] posix_clocks: add clock_adjtime for arm Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch adds the clock_adjtime system call to the arm architecture. Signed-off-by: Richard Cochran --- 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..f58d881 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_clock_adjtime (__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..430de4c 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) +/* 370 */ CALL(sys_clock_adjtime) #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls #define syscalls_counted