]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
[IA64] kexec: remove unnecessary #ifdef CONFIG_XEN.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 28 Jul 2008 08:24:37 +0000 (17:24 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 28 Jul 2008 08:24:37 +0000 (17:24 +0900)
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@valinux.co.jp>
arch/ia64/kernel/relocate_kernel.S

index f1048416f217878356d343ed72c0b028cfd4a19f..dd7a40dbb8efab36f3898fdcd3bea4c9253d9671 100644 (file)
@@ -187,18 +187,10 @@ GLOBAL_ENTRY(relocate_new_kernel)
 
 .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)