ia64/xen-unstable

changeset 8856:138e145f83f6

Fix non-x86 build.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Feb 15 12:20:42 2006 +0100 (2006-02-15)
parents 75af08f657be
children fd3f1e38fdcf
files xen/common/kernel.c
line diff
     1.1 --- a/xen/common/kernel.c	Wed Feb 15 09:44:11 2006 +0000
     1.2 +++ b/xen/common/kernel.c	Wed Feb 15 12:20:42 2006 +0100
     1.3 @@ -10,8 +10,8 @@
     1.4  #include <xen/errno.h>
     1.5  #include <xen/compile.h>
     1.6  #include <xen/sched.h>
     1.7 +#include <xen/shadow.h>
     1.8  #include <asm/current.h>
     1.9 -#include <asm/shadow.h>
    1.10  #include <public/nmi.h>
    1.11  #include <public/version.h>
    1.12  
    1.13 @@ -190,10 +190,10 @@ long do_xen_version(int cmd, void *arg)
    1.14          {
    1.15          case 0:
    1.16              fi.submap = 0;
    1.17 -            if (shadow_mode_translate(current->domain))
    1.18 -                fi.submap |= 1 << XENFEAT_writable_page_tables |
    1.19 -                    1 << XENFEAT_writable_descriptor_tables |
    1.20 -                    1 << XENFEAT_auto_translated_physmap;
    1.21 +            if ( shadow_mode_translate(current->domain) )
    1.22 +                fi.submap |= 
    1.23 +                    (1U << XENFEAT_writable_page_tables) |
    1.24 +                    (1U << XENFEAT_auto_translated_physmap);
    1.25              break;
    1.26          default:
    1.27              return -EINVAL;