[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] [IA64] kexec: remove unnecessary #ifdef CONFIG_XEN.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1217233477 -32400
# Node ID 770a0e422f643abf4b818b0ac70836ef9c34448d
# Parent  34905b87bb834f2d034b984ac07a83862a2bf1c1
[IA64] kexec: remove unnecessary #ifdef CONFIG_XEN.

There is no specific reason to reduce memory and stack registers
for kexec. Because the page for relocate_kernel code is allocated
by kimage_alloc_pages() which calls xen_limit_pages_to_max_mfn()
so that pages are guaranteed to be machine contiguous.
Remove those unnecessary #ifdef CONFIG_XEN.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/kernel/relocate_kernel.S |    8 --------
 1 files changed, 8 deletions(-)

diff -r 34905b87bb83 -r 770a0e422f64 arch/ia64/kernel/relocate_kernel.S
--- a/arch/ia64/kernel/relocate_kernel.S        Mon Jul 28 17:22:46 2008 +0900
+++ b/arch/ia64/kernel/relocate_kernel.S        Mon Jul 28 17:24:37 2008 +0900
@@ -187,18 +187,10 @@ 1:
 
 .align  32
 memory_stack:
-#ifdef CONFIG_XEN
-       .fill           4096, 1, 0
-#else
        .fill           8192, 1, 0
-#endif
 memory_stack_end:
 register_stack:
-#ifdef CONFIG_XEN
-       .fill           4096, 1, 0
-#else
        .fill           8192, 1, 0
-#endif
 register_stack_end:
 relocate_new_kernel_end:
 END(relocate_new_kernel)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.