From: Arnd Bergmann Subject: Re: [PATCH V7 2/8] posix clocks: introduce a syscall for clock tuning. Date: Thu, 16 Dec 2010 16:51:31 +0100 Message-ID: <201012161651.31748.arnd@arndb.de> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Richard Cochran Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alan Cox , Christoph Lameter , David Miller , John Stultz , Krzysztof Halasa , Peter Zijlstra , Rodolfo Giometti , Thomas Gleixner List-Id: linux-api@vger.kernel.org On Thursday 16 December 2010, Richard Cochran wrote: > A new syscall is introduced that allows tuning of a POSIX clock. The > syscall is implemented for four architectures: arm, blackfin, powerpc, > and x86. > > The new syscall, clock_adjtime, takes two parameters, the clock ID, > and a pointer to a struct timex. Any ADJTIMEX(2) operation may be > requested via this system call, but various POSIX clocks may or may > not support tuning. > > Signed-off-by: Richard Cochran The syscall implementation looks good to me. Acked-by: Arnd Bergmann It would be good to add it to include/asm-generic/unistd.h as well, so that tile and future architectures get it, too.