Skip to content
Commit 40c373cc authored by Frédéric Riss's avatar Frédéric Riss Committed by Linus Torvalds
Browse files

[PATCH] EFI x86: pass firmware call parameters on the stack



When calling into the EFI firmware, the parameters need to be passed on
the stack. The recent change to use -mregparm=3 breaks x86 EFI support.
This patch is needed to allow the new Intel-based Macs to suspend to ram
(efi.get_time is called during the suspend phase).

Signed-off-by: default avatarFrederic Riss <frederic.riss@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 886ae1fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment