[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] - include linux/vmalloc.h for vmalloc
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID e0146a206ea2b011054f543537cb74a572341ad5 # Parent 5f6787c5c71fae75729986f0cc408ed86cdec75f - include linux/vmalloc.h for vmalloc - include grant table includes from common.h rather than blkback.c, since both C files use grant tables - include linux/version.h from block.h (a macro there uses it) - include asm-xen/hypervisor.h from block.h (virt_to_machine) Signed-off-by: Matthew Chapman <matthewc@xxxxxx> diff -r 5f6787c5c71f -r e0146a206ea2 linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c --- a/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c Sat Aug 6 09:50:51 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c Sat Aug 6 09:52:01 2005 @@ -12,9 +12,6 @@ */ #include "common.h" -#ifdef CONFIG_XEN_BLKDEV_GRANT -#include <asm-xen/xen-public/grant_table.h> -#endif /* * These are rather arbitrary. They are fairly large because adjacent requests diff -r 5f6787c5c71f -r e0146a206ea2 linux-2.6-xen-sparse/drivers/xen/blkback/common.h --- a/linux-2.6-xen-sparse/drivers/xen/blkback/common.h Sat Aug 6 09:50:51 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/common.h Sat Aug 6 09:52:01 2005 @@ -9,6 +9,7 @@ #include <linux/interrupt.h> #include <linux/slab.h> #include <linux/blkdev.h> +#include <linux/vmalloc.h> #include <asm/io.h> #include <asm/setup.h> #include <asm/pgalloc.h> @@ -17,6 +18,9 @@ #include <asm-xen/hypervisor.h> #include <asm-xen/xen-public/io/blkif.h> #include <asm-xen/xen-public/io/ring.h> +#ifdef CONFIG_XEN_BLKDEV_GRANT +#include <asm-xen/gnttab.h> +#endif #if 0 #define ASSERT(_p) \ diff -r 5f6787c5c71f -r e0146a206ea2 linux-2.6-xen-sparse/drivers/xen/blkfront/block.h --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/block.h Sat Aug 6 09:50:51 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/block.h Sat Aug 6 09:52:01 2005 @@ -33,6 +33,7 @@ #define __XEN_DRIVERS_BLOCK_H__ #include <linux/config.h> +#include <linux/version.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/sched.h> @@ -44,6 +45,7 @@ #include <linux/blkdev.h> #include <linux/major.h> #include <linux/devfs_fs_kernel.h> +#include <asm-xen/hypervisor.h> #include <asm-xen/xen-public/xen.h> #include <asm-xen/xen-public/io/blkif.h> #include <asm-xen/xen-public/io/ring.h> _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |