]> git.baikalelectronics.ru Git - kernel.git/commit
Reorder guest saved regs to match hyperall order
authorJes Sorensen <jes@sgi.com>
Mon, 22 Oct 2007 01:03:29 +0000 (11:03 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:51 +0000 (15:49 +1000)
commitb9bfbcb9d347c74f519608e7abcaa74868dd0651
tree8ec25721127eb899b97e46551b1644644ca698ac
parent7ddf6fb7705205ee53475a0913363bf9c819ef49
Reorder guest saved regs to match hyperall order

Move eax next to ebx/ecx/edx in struct lguest_regs on i386, so they
will be located together and allow it to map directly to a struct
hcall_ring entry (which will be renamed struct hcall_args as in a
subsequent patch).

This is in preparation for making the code hcall code architecture
independent.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/x86/switcher_32.S
include/asm-x86/lguest.h