Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334784
b: refs/heads/master
c: 37ea0fc
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Konrad Rzeszutek Wilk committed Oct 19, 2012
1 parent 95c713b commit f243db0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 609b0b8c4608d59be261dde748f1ff1eccd748ba
refs/heads/master: 37ea0fcb6a3f3318bf45888e624722a2945cec04
2 changes: 2 additions & 0 deletions trunk/arch/arm/include/asm/xen/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
/* 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. */
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);
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/xen/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
* with Xen so that on ARM we can have one ABI that works for 32 and 64
* bit guests. */
typedef unsigned long xen_pfn_t;
#define PRI_xen_pfn "lx"
typedef unsigned long xen_ulong_t;
#define PRI_xen_ulong "lx"
/* Guest handles for primitive C types. */
__DEFINE_GUEST_HANDLE(uchar, unsigned char);
__DEFINE_GUEST_HANDLE(uint, unsigned int);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/xen/sys-hypervisor.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ static ssize_t virtual_start_show(struct hyp_sysfs_attr *attr, char *buffer)
ret = HYPERVISOR_xen_version(XENVER_platform_parameters,
parms);
if (!ret)
ret = sprintf(buffer, "%lx\n", parms->virt_start);
ret = sprintf(buffer, "%"PRI_xen_ulong"\n",
parms->virt_start);
kfree(parms);
}

Expand Down

0 comments on commit f243db0

Please sign in to comment.