summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2013-03-01 05:14:59 -0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-03-01 10:55:00 -0500
commit45e27161c62216c163880d7aed751cb55a65c8e9 (patch)
tree30d174f92333528f313afcd06b740893c90c10a2
parent884ac2978a295b7df3c4a686d3bff6932bbbb460 (diff)
downloadlinux-3.10-45e27161c62216c163880d7aed751cb55a65c8e9.tar.gz
linux-3.10-45e27161c62216c163880d7aed751cb55a65c8e9.tar.bz2
linux-3.10-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>
-rw-r--r--drivers/xen/xenbus/xenbus_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c
index bcf3ba4a6ec..61786be9138 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>