diff options
author | 2013-03-01 05:14:59 -0800 | |
---|---|---|
committer | 2013-03-01 10:55:00 -0500 | |
commit | 45e27161c62216c163880d7aed751cb55a65c8e9 (patch) | |
tree | 30d174f92333528f313afcd06b740893c90c10a2 /drivers/xen | |
parent | xen/pci: We don't do multiple MSI's. (diff) | |
download | linux-45e27161c62216c163880d7aed751cb55a65c8e9.tar.gz linux-45e27161c62216c163880d7aed751cb55a65c8e9.tar.bz2 linux-45e27161c62216c163880d7aed751cb55a65c8e9.zip |
xenbus: fix compile failure on ARM with Xen enabled
Adding an include of linux/mm.h resolves this:
drivers/xen/xenbus/xenbus_client.c: In function ‘xenbus_map_ring_valloc_hvm’:
drivers/xen/xenbus/xenbus_client.c:532:66: error: implicit declaration of function ‘page_to_section’ [-Werror=implicit-function-declaration]
CC: stable@vger.kernel.org
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/xenbus/xenbus_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c index bcf3ba4a6ec1..61786be9138b 100644 --- a/drivers/xen/xenbus/xenbus_client.c +++ b/drivers/xen/xenbus/xenbus_client.c @@ -30,6 +30,7 @@ * IN THE SOFTWARE. */ +#include <linux/mm.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/spinlock.h> |