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: [email protected]
Signed-off-by: Steven Noonan <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
This commit is contained in:
Steven Noonan 2013-03-01 05:14:59 -08:00 • committed by Konrad Rzeszutek Wilk
commit 45e27161c6

View file

@ -30,6 +30,7 @@
* IN THE SOFTWARE.
*/
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/spinlock.h>