From: David P. Reed Date: Wed, 14 Nov 2007 22:47:35 +0000 (-0500) Subject: x86: fix freeze in x86_64 RTC update code in time_64.c X-Git-Tag: v2.6.24-rc4~114^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c399da0d97e06803e51085ec076b63a3168aad1b;p=pandora-kernel.git x86: fix freeze in x86_64 RTC update code in time_64.c Fix hard freeze on x86_64 when the ntpd service calls update_persistent_clock() A repeatable but randomly timed freeze has been happening in Fedora 6 and 7 for the last year, whenever I run the ntpd service on my AMD64x2 HP Pavilion dv9000z laptop. This freeze is due to the use of spin_lock(&rtc_lock) under the assumption (per a bad comment) that set_rtc_mmss is called only with interrupts disabled. The call from ntp.c to update_persistent_clock is made with interrupts enabled. Signed-off-by: David P. Reed Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed