[PATCH] EFI x86: pass firmware call parameters on the stack
authorFrédéric Riss <frederic.riss@gmail.com>
Tue, 30 Jan 2007 20:41:17 +0000 (21:41 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 4 Feb 2007 18:27:10 +0000 (10:27 -0800)
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: Frederic Riss <frederic.riss@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found