[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] kexec: Fix the 32-bit build.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1213352518 -3600 # Node ID 833ec967857cbd2cc055be1625b288edcae095ca # Parent cb514522dab2a4c5453ce45bbd97f7b1c12449e0 kexec: Fix the 32-bit build. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/include/public/kexec.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff -r cb514522dab2 -r 833ec967857c xen/include/public/kexec.h --- a/xen/include/public/kexec.h Fri Jun 13 10:13:25 2008 +0100 +++ b/xen/include/public/kexec.h Fri Jun 13 11:21:58 2008 +0100 @@ -170,11 +170,11 @@ void vmcoreinfo_append_str(const char *f #define VMCOREINFO_STRUCT_SIZE(name) \ vmcoreinfo_append_str("SIZE(%s)=%zu\n", #name, sizeof(struct name)) #define VMCOREINFO_OFFSET(name, field) \ - vmcoreinfo_append_str("OFFSET(%s.%s)=%zu\n", #name, #field, \ - offsetof(struct name, field)) + vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ + (unsigned long)offsetof(struct name, field)) #define VMCOREINFO_OFFSET_ALIAS(name, field, alias) \ - vmcoreinfo_append_str("OFFSET(%s.%s)=%zu\n", #name, #alias, \ - offsetof(struct name, field)) + vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #alias, \ + (unsigned long)offsetof(struct name, field)) #endif /* _XEN_PUBLIC_KEXEC_H */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |