[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Add needed header files that are buried/nested in x86



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID a152b9f27e48c957b5c4018493dc3114b65960f6
# Parent  52d2d520857548ea216aae702ebbd57772b6d781
Add needed header files that are buried/nested in x86

diff -r 52d2d5208575 -r a152b9f27e48 
linux-2.6-xen-sparse/drivers/xen/blkfront/block.h
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/block.h Wed Sep 14 21:26:35 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/block.h Wed Sep 14 21:33:52 2005
@@ -47,6 +47,7 @@
 #include <linux/devfs_fs_kernel.h>
 #include <asm-xen/hypervisor.h>
 #include <asm-xen/xenbus.h>
+#include <asm-xen/gnttab.h>
 #include <asm-xen/xen-public/xen.h>
 #include <asm-xen/xen-public/io/blkif.h>
 #include <asm-xen/xen-public/io/ring.h>
diff -r 52d2d5208575 -r a152b9f27e48 
linux-2.6-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/console.c        Wed Sep 14 
21:26:35 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c        Wed Sep 14 
21:33:52 2005
@@ -49,6 +49,7 @@
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/uaccess.h>
+#include <asm-xen/xen-public/xen.h>
 #include <asm-xen/xen-public/event_channel.h>
 #include <asm-xen/hypervisor.h>
 #include <asm-xen/evtchn.h>
diff -r 52d2d5208575 -r a152b9f27e48 
linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
--- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c        Wed Sep 14 
21:26:35 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c        Wed Sep 14 
21:33:52 2005
@@ -26,6 +26,8 @@
 #include <asm/uaccess.h>
 #include <asm/tlb.h>
 #include <asm-xen/linux-public/privcmd.h>
+#include <asm-xen/linux-public/hypervisor.h>
+#include <asm-xen/xen-public/xen.h>
 #include <asm-xen/xen-public/dom0_ops.h>
 #include <asm-xen/xen_proc.h>
 
@@ -76,6 +78,18 @@
                 "g" ((unsigned long)hypercall.arg[4])
                 : "r11","rcx","r8","r10","memory");
         }
+#elif defined (__ia64__)
+       __asm__ __volatile__ (
+           ";; mov r14=%2; mov r15=%3; mov r16=%4; mov r17=%5; mov r18=%6; mov
+r2=%1; break 0x1000;; mov %0=r8 ;;"
+           : "=r" (ret)
+           : "r" (hypercall.op),
+             "r" (hypercall.arg[0]),
+             "r" (hypercall.arg[1]),
+             "r" (hypercall.arg[2]),
+             "r" (hypercall.arg[3]),
+             "r" (hypercall.arg[4])
+           : "r14","r15","r16","r17","r18","r2","r8","memory");
 #endif
     }
     break;
diff -r 52d2d5208575 -r a152b9f27e48 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c      Wed Sep 14 
21:26:35 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c      Wed Sep 14 
21:33:52 2005
@@ -40,6 +40,7 @@
 #include "xenbus_comms.h"
 
 #include <asm/uaccess.h>
+#include <asm/hypervisor.h>
 #include <asm-xen/xenbus.h>
 #include <asm-xen/xen_proc.h>
 #include <asm-xen/linux-public/xenstored.h>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.