Messages in this thread Patch in this message | | | Date | Fri, 7 Jul 2006 16:34:38 +0900 | From | Horms <> | Subject | [PATCH] i386, kexec: Remove unneccessary variable page_list from machine_kexec() |
| |
Signed-Off-By: Horms <horms@verge.net.au>
arch/i386/kernel/machine_kexec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/i386/kernel/machine_kexec.c b/arch/i386/kernel/machine_kexec.c index 511abe5..6f140d2 100644 --- a/arch/i386/kernel/machine_kexec.c +++ b/arch/i386/kernel/machine_kexec.c @@ -169,7 +169,6 @@ void machine_kexec_cleanup(struct kimage */ NORET_TYPE void machine_kexec(struct kimage *image) { - unsigned long page_list; unsigned long reboot_code_buffer; relocate_new_kernel_t rnk; @@ -180,8 +179,6 @@ NORET_TYPE void machine_kexec(struct kim /* Compute some offsets */ reboot_code_buffer = page_to_pfn(image->control_code_page) << PAGE_SHIFT; - page_list = image->head; - /* Set up an identity mapping for the reboot_code_buffer */ identity_map_page(reboot_code_buffer); @@ -210,5 +207,5 @@ NORET_TYPE void machine_kexec(struct kim /* now call it */ rnk = (relocate_new_kernel_t) reboot_code_buffer; - (*rnk)(page_list, reboot_code_buffer, image->start, cpu_has_pae); + (*rnk)(image->head, reboot_code_buffer, image->start, cpu_has_pae); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |