x86: Make EFI RTC function depend on 32bit again
authorFeng Tang <feng.tang@intel.com>
Tue, 20 Oct 2009 04:54:02 +0000 (12:54 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 Oct 2009 11:35:48 +0000 (12:35 +0100)
commit772be899bc022ef2b911c3611b487d417e3269c3
tree911d243c13b1ded8ff6f62ccbe70e4570cca24ec
parent81766741fe1eee3884219e8daaf03f466f2ed52f
x86: Make EFI RTC function depend on 32bit again

The EFI RTC functions are only available on 32 bit. commit 7bd867df
(x86: Move get/set_wallclock to x86_platform_ops) removed the 32bit
dependency which leads to boot crashes on 64bit EFI systems.

Add the dependency back.
Solves: http://bugzilla.kernel.org/show_bug.cgi?id=14466

Tested-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Feng Tang <feng.tang@intel.com>
LKML-Reference: <20091020125402.028d66d5@feng-desktop>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/efi.c