ia64/xen-unstable

changeset 14174:9edd8d7c9355

[XEN] No need to change the compat mode of the guest in xen.
The tools set the compat mode already explicitly.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Wed Feb 28 10:40:52 2007 +0000 (2007-02-28)
parents 40dc331c4423
children 5943a8314d69
files xen/common/domctl.c
line diff
     1.1 --- a/xen/common/domctl.c	Wed Feb 28 09:44:59 2007 +0000
     1.2 +++ b/xen/common/domctl.c	Wed Feb 28 10:40:52 2007 +0000
     1.3 @@ -342,11 +342,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
     1.4          if ( (d = domain_create(dom, domcr_flags)) == NULL )
     1.5              break;
     1.6  
     1.7 -#ifdef CONFIG_COMPAT
     1.8 -        if ( IS_COMPAT(current->domain) && ((ret = switch_compat(d)) != 0) )
     1.9 -            break;
    1.10 -#endif
    1.11 -
    1.12          ret = 0;
    1.13  
    1.14          memcpy(d->handle, op->u.createdomain.handle,