[patch 3/5] Dont map PAL memory if physicall calls are going to be made

From: Horms <horms_at_verge.net.au>
Date: 2006-10-23 18:48:43
There seems to be no reason to map the PAL code into memory if
physical calls are going to be made.

Signed-Off-By: Simon Horman <horms@verge.net.au>

 arch/ia64/kernel/efi.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: kexec-ia64-2.6/arch/ia64/kernel/efi.c
===================================================================
--- kexec-ia64-2.6.orig/arch/ia64/kernel/efi.c	2006-10-05 12:51:49.000000000 +0900
+++ kexec-ia64-2.6/arch/ia64/kernel/efi.c	2006-10-05 12:52:10.000000000 +0900
@@ -527,7 +528,6 @@
 	}
 #endif
 
-	efi_map_pal_code();
 	efi_enter_virtual_mode();
 }
 
@@ -601,6 +601,8 @@
 	efi.set_variable = virt_set_variable;
 	efi.get_next_high_mono_count = virt_get_next_high_mono_count;
 	efi.reset_system = virt_reset_system;
+
+	efi_map_pal_code();
 }
 
 /*

--

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Oct 23 19:05:54 2006

This archive was generated by hypermail 2.1.8 : 2006-10-23 19:09:07 EST