]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commiteb22f221c6a6a3bc659b284473773b6602832072
treeadec525ed9e80a3b923302a273b7524c231d614d
parent54435729b8df319711d6a21ff689a9e9cfb5d067
[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