ntp: let update_persistent_clock() sleep
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 22 Sep 2008 21:42:40 +0000 (14:42 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 24 Sep 2008 15:33:12 +0000 (17:33 +0200)
commiteb3f938fd6292dc79f43a5fe14784b044776e9f0
treeeb0b485e95af3c6c15871992a9a6d0977869c9e7
parent77dd3b3bd23111040c504be6bd873a5ad09f02df
ntp: let update_persistent_clock() sleep

This is a change that makes the 11-minute RTC update be run in the process
context.  This is so that update_persistent_clock() can sleep, which may
be required for certain types of RTC hardware -- most notably I2C devices.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/ntp.c