Patch Upstream: xenbus: fix compile failure on ARM with Xen enabled

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

 



commit: 45e27161c62216c163880d7aed751cb55a65c8e9
From: Steven Noonan <steven@xxxxxxxxxxxxxx>
Date: Fri, 1 Mar 2013 05:14:59 -0800
Subject: xenbus: fix compile failure on ARM with Xen enabled
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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@xxxxxxxxxxxxxxx
Signed-off-by: Steven Noonan <steven@xxxxxxxxxxxxxx>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
 drivers/xen/xenbus/xenbus_client.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c
index bcf3ba4..61786be 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>
-- 
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]