projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kernel
/
efi.c
diff --git
a/arch/x86/kernel/efi.c
b/arch/x86/kernel/efi.c
index fe26ba3e3451872c083c10b6ccf62651fcd762a0..ad5bd988fb7958834cc731266f2c9b7a02d21958 100644
(file)
--- a/
arch/x86/kernel/efi.c
+++ b/
arch/x86/kernel/efi.c
@@
-42,6
+42,7
@@
#include <asm/time.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/time.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
+#include <asm/x86_init.h>
#define EFI_DEBUG 1
#define PFX "EFI: "
#define EFI_DEBUG 1
#define PFX "EFI: "
@@
-453,6
+454,9
@@
void __init efi_init(void)
if (add_efi_memmap)
do_add_efi_memmap();
if (add_efi_memmap)
do_add_efi_memmap();
+ x86_platform.get_wallclock = efi_get_time;
+ x86_platform.set_wallclock = efi_set_rtc_mmss;
+
/* Setup for EFI runtime service */
reboot_type = BOOT_EFI;
/* Setup for EFI runtime service */
reboot_type = BOOT_EFI;