aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2013-03-01 08:14:59 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-03-01 10:55:00 -0500
commit45e27161c62216c163880d7aed751cb55a65c8e9 (patch)
tree30d174f92333528f313afcd06b740893c90c10a2 /drivers/xen
parent884ac2978a295b7df3c4a686d3bff6932bbbb460 (diff)
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>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/xenbus/xenbus_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c
index bcf3ba4a6ec1..61786be9138b 100644
--- a/drivers/xen/xenbus/xenbus_client.c
+++ b/drivers/xen/xenbus/xenbus_client.c
@@ -30,6 +30,7 @@
30 * IN THE SOFTWARE. 30 * IN THE SOFTWARE.
31 */ 31 */
32 32
33#include <linux/mm.h>
33#include <linux/slab.h> 34#include <linux/slab.h>
34#include <linux/types.h> 35#include <linux/types.h>
35#include <linux/spinlock.h> 36#include <linux/spinlock.h>