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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 1 Mar 2013 15:55:00 +0000 (10:55 -0500)
commit45e27161c62216c163880d7aed751cb55a65c8e9
tree30d174f92333528f313afcd06b740893c90c10a2
parent884ac2978a295b7df3c4a686d3bff6932bbbb460
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>
drivers/xen/xenbus/xenbus_client.c