Skip to contentSkip to conversation

kexec: fix ia64 build

PATCH In review KUWAMURA Shin'ya 2 participants 4 messages Jul 7, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec: fix ia64 build

Hi,

23408:1fc3347850c7 causes the following error:
machine_kexec.c:106: error: static declaration of 'machine_kexec_get_xen' follows non-static declaration /xen-unstable.hg/xen/include/xen/kexec.h:39: error: previous declaration of 'machine_kexec_get_xen' was here

This patch fixes it.

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1309938845 -32400
# Node ID 10dfcb0ba2ad0ea2d15a0853074c30d74c276a35 # Parent 183e6b38e1157c177323956deaa5dbec479c22fc [IA64] kexec: fix ia64 build

23408:1fc3347850c7 causes the following error:
machine_kexec.c:106: error: static declaration of 'machine_kexec_get_xen' follows non-static declaration /xen-unstable.hg/xen/include/xen/kexec.h:39: error: previous declaration of 'machine_kexec_get_xen' was here

xen/arch/ia64/xen/machine_kexec.c +1 -1
diff -r 183e6b38e115 -r 10dfcb0ba2ad xen/arch/ia64/xen/machine_kexec.c
@@ -102,7 +102,7 @@ void machine_reboot_kexec(xen_kexec_imag
 	machine_kexec(image);
 }
 
-static int machine_kexec_get_xen(xen_kexec_range_t *range)
+int machine_kexec_get_xen(xen_kexec_range_t *range)
 {
 	range->start = ia64_tpa(_text);
 	range->size = (unsigned long)_end - (unsigned long)_text;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line · KUWAMURA Shin'ya

Hi,

23408:1fc3347850c7 causes the following error:
machine_kexec.c:106: error: static declaration of 'machine_kexec_get_xen'
follows non-static declaration
/xen-unstable.hg/xen/include/xen/kexec.h:39: error: previous declaration of
'machine_kexec_get_xen' was here

This patch fixes it.

Hmm, am I to imply this is the only build problem you were having on ia64? The builds have been failing for me for a very long time, and definitely not just because of this. And due to these build problems, I'm likely to have introduced further breakage with the irq<->pirq translation work, as I couldn't build-test ia64.

Jan

#2 lore raw

Hi Jan,

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Thu, 07 Jul 2011 08:10:22 +0100
[email protected]("Jan Beulich") said:

Hmm, am I to imply this is the only build problem you were having on ia64?

No, ia64 has many problems. It is obviously simple, so I sent it. I am working on other problems now.

Best regards,

Signature · 1 line
  KUWAMURA Shin'ya
#3 lore raw
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines · KUWAMURA Shin'ya
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Thu, 07 Jul 2011 08:10:22 +0100
[email protected]("Jan Beulich") said:

Hmm, am I to imply this is the only build problem you were having on ia64?

No, ia64 has many problems. It is obviously simple, so I sent it. I am working on other problems now.

Thanks a lot for looking into this!

Jan