Hi Michael, On 2012/01/12 16:12:34 +0100, Michael Holzheu <holzheu at linux.vnet.ibm.com> wrote: > From: Michael Holzheu <holzheu at linux.vnet.ibm.com> > > When compiling makedumpfile git head or 1.4.1 on s390x, I get the following > gcc error: Thank you for the fix and sorry for our insufficient tests. We will release a fixed version next week. Thanks. tachibana > > # gcc -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_LARGEFILE64_SOURCE -DVERSION='"1.4.1"' -DRELEASE_DATE='"6 January 2012"' > -D__s390__ print_info.o dwarf_info.o elf_info.o erase_info.o sadump_info.o > arch/arm.o arch/x86.o arch/x86_64.o arch/ia64.o arch/ppc64.o arch/s390x.o -o > makedumpfile makedumpfile.c -static -ldw -lbz2 -lebl -ldl -lelf -lz > In file included from makedumpfile.c:21:0: > sadump_info.h:86:1: error: expected identifier or '(' before '{' token > sadump_info.h:85:19: warning: 'sadump_num_online_cpus' used but never defined > > The attached patch fixes this problem. > > Signed-off-by: Michael Holzheu <holzheu at linux.vnet.ibm.com> > --- > sadump_info.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/sadump_info.h > +++ b/sadump_info.h > @@ -82,7 +82,7 @@ static inline int sadump_initialize_bitm > return FALSE; > } > > -static inline int sadump_num_online_cpus(void); > +static inline int sadump_num_online_cpus(void) > { > return 0; > } > > > > _______________________________________________ > kexec mailing list > kexec at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec