diff options
author | Jan Beulich <JBeulich@novell.com> | 2011-07-19 11:53:07 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-07-21 09:21:00 +0200 |
commit | ef68c8f87ed13f65df867dddf36c0e185b27b942 (patch) | |
tree | 5caf15b1d46697bda2201fd1625d498e64df9f01 /drivers/rtc | |
parent | ac619f4eba45da10053fc991f8a5d47b3be79fa3 (diff) | |
download | linux-ef68c8f87ed13f65df867dddf36c0e185b27b942.tar.gz linux-ef68c8f87ed13f65df867dddf36c0e185b27b942.tar.bz2 linux-ef68c8f87ed13f65df867dddf36c0e185b27b942.zip |
x86: Serialize EFI time accesses on rtc_lock
The EFI specification requires that callers of the time related
runtime functions serialize with other CMOS accesses in the
kernel, as the EFI time functions may choose to also use the
legacy CMOS RTC.
Besides fixing a latent bug, this is a prerequisite to safely
enable the rtc-efi driver for x86, which ought to be preferred
over rtc-cmos on all EFI platforms.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: <mjg@redhat.com>
Link: http://lkml.kernel.org/r/4E257E33020000780004E319@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions