diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-16 11:41:51 +0200 | 
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-16 11:41:51 +0200 | 
| commit | 3c3dd225819112e56554162c6b37e61a31924e0c (patch) | |
| tree | 5bcd3a63010af2cd5bb946b5af21ef27f1dcfe3c /arch/arm/include/asm/xen/interface.h | |
| parent | a915d4ca24b814daee9cddbc42cd41f59fe4fa8f (diff) | |
| parent | 3d70f8c617a436c7146ecb81df2265b4626dfe89 (diff) | |
Merge tag 'v3.7-rc4'
Merge Linux 3.7-rc4 to get fixes for CMA.
Diffstat (limited to 'arch/arm/include/asm/xen/interface.h')
| -rw-r--r-- | arch/arm/include/asm/xen/interface.h | 12 | 
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/include/asm/xen/interface.h b/arch/arm/include/asm/xen/interface.h index ae05e56dd17..5000397134b 100644 --- a/arch/arm/include/asm/xen/interface.h +++ b/arch/arm/include/asm/xen/interface.h @@ -29,16 +29,22 @@  #ifndef __ASSEMBLY__  /* Explicitly size integers that represent pfns in the interface with - * Xen so that we can have one ABI that works for 32 and 64 bit guests. */ + * Xen so that we can have one ABI that works for 32 and 64 bit guests. + * Note that this means that the xen_pfn_t type may be capable of + * representing pfn's which the guest cannot represent in its own pfn + * type. However since pfn space is controlled by the guest this is + * fine since it simply wouldn't be able to create any sure pfns in + * the first place. + */  typedef uint64_t xen_pfn_t; +#define PRI_xen_pfn "llx"  typedef uint64_t xen_ulong_t; +#define PRI_xen_ulong "llx"  /* Guest handles for primitive C types. */  __DEFINE_GUEST_HANDLE(uchar, unsigned char);  __DEFINE_GUEST_HANDLE(uint,  unsigned int); -__DEFINE_GUEST_HANDLE(ulong, unsigned long);  DEFINE_GUEST_HANDLE(char);  DEFINE_GUEST_HANDLE(int); -DEFINE_GUEST_HANDLE(long);  DEFINE_GUEST_HANDLE(void);  DEFINE_GUEST_HANDLE(uint64_t);  DEFINE_GUEST_HANDLE(uint32_t);  | 
