Skip to content

Commit

Permalink
xenbus: fix compile failure on ARM with Xen enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Noonan authored and Konrad Rzeszutek Wilk committed Mar 1, 2013
1 parent 884ac29 commit 45e2716
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/xen/xenbus/xenbus_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* IN THE SOFTWARE.
*/

#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/spinlock.h>
Expand Down

0 comments on commit 45e2716

Please sign in to comment.