[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)
commit40c373cc3af9720d1cec0e32c3da26b1d220a95b
treeadec525ed9e80a3b923302a273b7524c231d614d
parent886ae1fa1380309d91cdb7e67bd4bf71e053c1d5
[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: Frederic Riss <frederic.riss@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/efi.c