Re: [PATCH V7 2/8] posix clocks: introduce a syscall for clock tuning.

From: Arnd Bergmann
Date: Thu Dec 16 2010 - 10:52:22 EST


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 <richard.cochran@xxxxxxxxxx>

The syscall implementation looks good to me.

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

It would be good to add it to include/asm-generic/unistd.h
as well, so that tile and future architectures get it, too.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/