xenbus: fix compile failure on ARM with Xen enabled
authorSteven Noonan <steven@uplinklabs.net>
Fri, 1 Mar 2013 13:14:59 +0000 (05:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Mar 2013 18:26:10 +0000 (11:26 -0700)
commita1c9ea4054122af173791f7431fd4484330de26e
tree7331d562da38697fb70fe6f34dad84bad45a7c39
parent83bdd77f08b688915b17a63e73b2808da83c1d3a
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 <steven@uplinklabs.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/xenbus/xenbus_client.c