|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] kexec: fix ia64 build for 21300:8bdf09
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1294992840 0
# Node ID ed02b8e286e5c87763506705874ec13ef37251ba
# Parent d7e8acf49f0f119763ba476d0d785988df3b5bb4
kexec: fix ia64 build for 21300:8bdf09baff30
On ia64, 21300:8bdf09baff30 introduces the following error:
xen/common/kexec.c:490: undefined reference to
`continue_hypercall_on_cpu'
The function continue_hypercall_on_cpu() is defined only on x86.
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
xen/common/kexec.c | 5 +++++
1 files changed, 5 insertions(+)
diff -r d7e8acf49f0f -r ed02b8e286e5 xen/common/kexec.c
--- a/xen/common/kexec.c Fri Jan 14 08:13:09 2011 +0000
+++ b/xen/common/kexec.c Fri Jan 14 08:14:00 2011 +0000
@@ -487,7 +487,12 @@ static int kexec_exec(XEN_GUEST_HANDLE(v
{
case KEXEC_TYPE_DEFAULT:
image = &kexec_image[base + pos];
+#ifdef CONFIG_X86
ret = continue_hypercall_on_cpu(0, kexec_reboot, image);
+#else
+ one_cpu_only();
+ machine_reboot_kexec(image); /* Does not return */
+#endif
break;
case KEXEC_TYPE_CRASH:
kexec_crash(); /* Does not return */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] kexec: fix ia64 build for 21300:8bdf09baff30,
Xen patchbot-4.0-testing <=
|
|
|
|
|