diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-27 15:06:55 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-27 15:06:55 +0100 |
commit | cee87f9f44074302242968b88abe0a229b434986 (patch) | |
tree | eeddac4e6a2b577141c8d5c83d6b010d71f9fb9a /xen/arch/x86/machine_kexec.c | |
parent | b8057a726d7f47b47f6c4ef97032aba93409c026 (diff) | |
download | xen-cee87f9f44074302242968b88abe0a229b434986.tar.gz xen-cee87f9f44074302242968b88abe0a229b434986.tar.bz2 xen-cee87f9f44074302242968b88abe0a229b434986.zip |
xen: More 'IS_COMPAT' cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/machine_kexec.c')
-rw-r--r-- | xen/arch/x86/machine_kexec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xen/arch/x86/machine_kexec.c b/xen/arch/x86/machine_kexec.c index 5e82975366..e5033da55b 100644 --- a/xen/arch/x86/machine_kexec.c +++ b/xen/arch/x86/machine_kexec.c @@ -44,9 +44,8 @@ int machine_kexec_load(int type, int slot, xen_kexec_image_t *image) else { /* Odd pages: va for previous ma. */ - if ( IS_COMPAT(dom0) ) + if ( is_pv_32on64_domain(dom0) ) { - /* * The compatability bounce code sets up a page table * with a 1-1 mapping of the first 1G of memory so @@ -119,7 +118,7 @@ void machine_reboot_kexec(xen_kexec_image_t *image) void machine_kexec(xen_kexec_image_t *image) { #ifdef CONFIG_COMPAT - if ( IS_COMPAT(dom0) ) + if ( is_pv_32on64_domain(dom0) ) { extern void compat_machine_kexec(unsigned long rnk, unsigned long indirection_page, |