ia64/xen-unstable

changeset 17856:833ec967857c

kexec: Fix the 32-bit build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 13 11:21:58 2008 +0100 (2008-06-13)
parents cb514522dab2
children 7eab5d8788a6
files xen/include/public/kexec.h
line diff
     1.1 --- a/xen/include/public/kexec.h	Fri Jun 13 10:13:25 2008 +0100
     1.2 +++ b/xen/include/public/kexec.h	Fri Jun 13 11:21:58 2008 +0100
     1.3 @@ -170,11 +170,11 @@ void vmcoreinfo_append_str(const char *f
     1.4  #define VMCOREINFO_STRUCT_SIZE(name) \
     1.5         vmcoreinfo_append_str("SIZE(%s)=%zu\n", #name, sizeof(struct name))
     1.6  #define VMCOREINFO_OFFSET(name, field) \
     1.7 -       vmcoreinfo_append_str("OFFSET(%s.%s)=%zu\n", #name, #field, \
     1.8 -                             offsetof(struct name, field))
     1.9 +       vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \
    1.10 +                             (unsigned long)offsetof(struct name, field))
    1.11  #define VMCOREINFO_OFFSET_ALIAS(name, field, alias) \
    1.12 -       vmcoreinfo_append_str("OFFSET(%s.%s)=%zu\n", #name, #alias, \
    1.13 -                             offsetof(struct name, field))
    1.14 +       vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #alias, \
    1.15 +                             (unsigned long)offsetof(struct name, field))
    1.16  
    1.17  #endif /* _XEN_PUBLIC_KEXEC_H */
    1.18