|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Put xenstored.h in linux-public include dir
Dan, how does this one work for you?
Put xenstored.h in linux-public include dir.
Signed-off-by: Chris Wright <chrisw@xxxxxxxx>
---
diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12
21:42:26 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12
18:28:07 2005
@@ -37,12 +37,12 @@
#include <linux/wait.h>
#include <linux/fs.h>
-#include "xenstored.h"
#include "xenbus_comms.h"
#include <asm/uaccess.h>
#include <asm-xen/xenbus.h>
#include <asm-xen/xen_proc.h>
+#include <asm-xen/linux-public/xenstored.h>
struct xenbus_dev_data {
/* Are there bytes left to be read in this message? */
diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12
21:42:26 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12
18:28:07 2005
@@ -38,7 +38,7 @@
#include <linux/fcntl.h>
#include <linux/kthread.h>
#include <asm-xen/xenbus.h>
-#include "xenstored.h"
+#include <asm-xen/linux-public/xenstored.h>
#include "xenbus_comms.h"
#define streq(a, b) (strcmp((a), (b)) == 0)
diff -r d8637529daff linux-2.6-xen-sparse/mkbuildtree
--- a/linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 21:42:26 2005
+++ b/linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 18:28:07 2005
@@ -108,5 +108,5 @@
cd ${AD}/include/asm-xen/xen-public
relative_lndir ../../../${RS}/../xen/include/public
-cd ${AD}/drivers/xen/xenbus
+cd ${AD}/include/asm-xen/linux-public
ln -sf ../../../${RS}/../tools/xenstore/xenstored.h
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|