From: Steven Noonan Date: Fri, 1 Mar 2013 13:14:59 +0000 (-0800) Subject: xenbus: fix compile failure on ARM with Xen enabled X-Git-Tag: v3.8.3~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1c9ea4054122af173791f7431fd4484330de26e;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git xenbus: fix compile failure on ARM with Xen enabled commit 45e27161c62216c163880d7aed751cb55a65c8e9 upstream. 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] Signed-off-by: Steven Noonan Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Greg Kroah-Hartman --- 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 #include #include #include