aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core_x86.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-07 10:53:34 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-07 10:53:34 +0000
commit0cb97f4d8bff4b430318d74d7235ec3568ec5771 (patch)
tree04051fe5650389718baf1bda3ef8c1992c7b4c1c /tools/libxc/xc_core_x86.h
parent9de4f0c67def5ab75c4f5a9a4428b719e149e8b2 (diff)
downloadxen-0cb97f4d8bff4b430318d74d7235ec3568ec5771.tar.gz
xen-0cb97f4d8bff4b430318d74d7235ec3568ec5771.tar.bz2
xen-0cb97f4d8bff4b430318d74d7235ec3568ec5771.zip
dump-core: always use elfclass64 format to support x86_32pae.
Without this patch xen dump-core format can't handle over 4GB case. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'tools/libxc/xc_core_x86.h')
-rw-r--r--tools/libxc/xc_core_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_core_x86.h b/tools/libxc/xc_core_x86.h
index b3c2d5beec..53ca48493d 100644
--- a/tools/libxc/xc_core_x86.h
+++ b/tools/libxc/xc_core_x86.h
@@ -45,7 +45,7 @@ static inline int
xc_core_arch_context_get_shdr(struct xc_core_arch_context *arch_ctxt,
struct xc_core_section_headers *sheaders,
struct xc_core_strtab *strtab,
- unsigned long *filesz, unsigned long offset)
+ uint64_t *filesz, uint64_t offset)
{
*filesz = 0;
return 0;