]> git.baikalelectronics.ru Git - kernel.git/commit
ntp: Add ADJ_SETOFFSET mode bit
authorRichard Cochran <richardcochran@gmail.com>
Tue, 1 Feb 2011 13:52:20 +0000 (13:52 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:18 +0000 (15:28 +0100)
commit7c7d8d0b7b1619e8224d8f6f759e6e4950a0fc9b
tree2eec808286e2f57eff45178741ba3ea048de7c37
parentc7da974662e8632bdf115cb54c517332940eb547
ntp: Add ADJ_SETOFFSET mode bit

This patch adds a new mode bit into the timex structure. When set, the bit
instructs the kernel to add the given time value to the current time.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Acked-by: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <20110201134320.688829863@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/timex.h
kernel/time/ntp.c