Commit 45e27161c62216c163880d7aed751cb55a65c8e9

Authored by Steven Noonan
Committed by Konrad Rzeszutek Wilk
1 parent 884ac2978a

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/xen/xenbus/xenbus_client.c
... ... @@ -30,6 +30,7 @@
30 30 * IN THE SOFTWARE.
31 31 */
32 32  
  33 +#include <linux/mm.h>
33 34 #include <linux/slab.h>
34 35 #include <linux/types.h>
35 36 #include <linux/spinlock.h>