]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen64: deal with extra words Xen pushes onto exception frames
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 8 Jul 2008 22:07:00 +0000 (15:07 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Jul 2008 09:02:31 +0000 (11:02 +0200)
commit997409d3d0bd6894f33e31ced251c0fdf523aa14
treecc4a963310cc9ae00138607cdaa35c99e7d5f76c
parente176d367d0cc8b8efd2e0960c9edf5d2fe7cd9f1
xen64: deal with extra words Xen pushes onto exception frames

Xen pushes two extra words containing the values of rcx and r11.  This
pvop hook copies the words back into their appropriate registers, and
cleans them off the stack.  This leaves the stack in native form, so
the normal handler can run unchanged.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/enlighten.c
arch/x86/xen/xen-asm_64.S
arch/x86/xen/xen-ops.h