ntp: Add ADJ_SETOFFSET mode bit
commit094aa1881fdc1b8889b442eb3511b31f3ec2b762
authorRichard Cochran <richardcochran@gmail.com>
Tue, 1 Feb 2011 13:52:20 +0000 (1 13:52 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:18 +0000 (2 15:28 +0100)
tree2eec808286e2f57eff45178741ba3ea048de7c37
parentc528f7c6c208f1fae6b4025957173dec045e5f21
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