Skip to content
Snippets Groups Projects
user avatar
Maurice Ma authored
Because callers of efi_phys_get_time() pass virtual stack
addresses as arguments, we need to find their corresponding
physical addresses and when calling GetTime() in physical mode.

Without this patch the following line is printed on boot,

	"Oops: efitime: can't read time!"

Signed-off-by: default avatarMaurice Ma <maurice.ma@intel.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Matthew Garrett <mjg@redhat.com>
Link: http://lkml.kernel.org/r/1318330333-4617-1-git-send-email-matt@console-pimps.org


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
e9a9eca5
History
Name Last commit Last update
..