From a3aec33058821397b058a3232378994b9804de1d Mon Sep 17 00:00:00 2001 From: Maurice Ma Date: Tue, 11 Oct 2011 11:52:13 +0100 Subject: [PATCH] --- yaml --- r: 277449 b: refs/heads/master c: e9a9eca517d4cd94e816538efc400257e34bc63e h: refs/heads/master i: 277447: b655c879d4c41060c1e71e88d454b50cdc78b8af v: v3 --- [refs] | 2 +- trunk/arch/x86/platform/efi/efi.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0c9a09a22481..2f3a987a10c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e57ae0515124af45dd889bfbd4840fd40fcc07d +refs/heads/master: e9a9eca517d4cd94e816538efc400257e34bc63e diff --git a/trunk/arch/x86/platform/efi/efi.c b/trunk/arch/x86/platform/efi/efi.c index 37718f0f053d..d2376eb7231a 100644 --- a/trunk/arch/x86/platform/efi/efi.c +++ b/trunk/arch/x86/platform/efi/efi.c @@ -238,7 +238,8 @@ static efi_status_t __init phys_efi_get_time(efi_time_t *tm, spin_lock_irqsave(&rtc_lock, flags); efi_call_phys_prelog(); - status = efi_call_phys2(efi_phys.get_time, tm, tc); + status = efi_call_phys2(efi_phys.get_time, virt_to_phys(tm), + virt_to_phys(tc)); efi_call_phys_epilog(); spin_unlock_irqrestore(&rtc_lock, flags); return status;