WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix non-x86 build.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 138e145f83f651f62c2e52a33ffd9dfaba750f4b
# Parent  75af08f657be524ee7aac2b2e87c2040f758ada8
Fix non-x86 build.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 75af08f657be -r 138e145f83f6 xen/common/kernel.c
--- a/xen/common/kernel.c       Wed Feb 15 09:44:11 2006
+++ b/xen/common/kernel.c       Wed Feb 15 11:20:42 2006
@@ -10,8 +10,8 @@
 #include <xen/errno.h>
 #include <xen/compile.h>
 #include <xen/sched.h>
+#include <xen/shadow.h>
 #include <asm/current.h>
-#include <asm/shadow.h>
 #include <public/nmi.h>
 #include <public/version.h>
 
@@ -190,10 +190,10 @@
         {
         case 0:
             fi.submap = 0;
-            if (shadow_mode_translate(current->domain))
-                fi.submap |= 1 << XENFEAT_writable_page_tables |
-                    1 << XENFEAT_writable_descriptor_tables |
-                    1 << XENFEAT_auto_translated_physmap;
+            if ( shadow_mode_translate(current->domain) )
+                fi.submap |= 
+                    (1U << XENFEAT_writable_page_tables) |
+                    (1U << XENFEAT_auto_translated_physmap);
             break;
         default:
             return -EINVAL;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix non-x86 build., Xen patchbot -unstable <=