[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] arm: compile tmem
# HG changeset patch # User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> # Date 1328787209 0 # Node ID dcb04595033b020f16a1ed642cfbeb263a85e969 # Parent fe7338e04b37f467a4a8bb773de5f66fcaa90778 arm: compile tmem Include few missing header files; introduce defined(CONFIG_ARM) where required. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r fe7338e04b37 -r dcb04595033b xen/common/tmem.c --- a/xen/common/tmem.c Thu Feb 09 11:33:28 2012 +0000 +++ b/xen/common/tmem.c Thu Feb 09 11:33:29 2012 +0000 @@ -22,6 +22,7 @@ #include <xen/rbtree.h> #include <xen/radix-tree.h> #include <xen/list.h> +#include <xen/init.h> #define EXPORT /* indicates code other modules are dependent upon */ #define FORWARD @@ -49,7 +50,7 @@ #define INVERT_SENTINEL(_x,_y) _x->sentinel = ~_y##_SENTINEL #define ASSERT_SENTINEL(_x,_y) \ ASSERT(_x->sentinel != ~_y##_SENTINEL);ASSERT(_x->sentinel == _y##_SENTINEL) -#ifdef __i386__ +#if defined(__i386__) || defined(CONFIG_ARM) #define POOL_SENTINEL 0x87658765 #define OBJ_SENTINEL 0x12345678 #define OBJNODE_SENTINEL 0xfedcba09 diff -r fe7338e04b37 -r dcb04595033b xen/common/tmem_xen.c --- a/xen/common/tmem_xen.c Thu Feb 09 11:33:28 2012 +0000 +++ b/xen/common/tmem_xen.c Thu Feb 09 11:33:29 2012 +0000 @@ -12,6 +12,8 @@ #include <xen/paging.h> #include <xen/domain_page.h> #include <xen/cpu.h> +#include <xen/init.h> +#include <asm/p2m.h> #define EXPORT /* indicates code other modules are dependent upon */ @@ -87,7 +89,7 @@ #endif } -#ifdef __ia64__ +#if defined(__ia64__) || defined (CONFIG_ARM) static inline void *cli_get_page(tmem_cli_mfn_t cmfn, unsigned long *pcli_mfn, pfp_t **pcli_pfp, bool_t cli_write) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |