mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] i386, kexec: Remove unneccessary variable  page_list from machine_kexec()
@ 2006-07-07  7:34 Horms
  0 siblings, 0 replies; only message in thread
From: Horms @ 2006-07-07  7:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Adrian Bunk, Magnus Damm

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);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-07  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07  7:34 [PATCH] i386, kexec: Remove unneccessary variable page_list from machine_kexec() Horms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®