patch-2.4.23 linux-2.4.23/arch/ia64/kernel/efi.c

Next file: linux-2.4.23/arch/ia64/kernel/efi_stub.S
Previous file: linux-2.4.23/arch/ia64/kernel/acpi.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/ia64/kernel/efi.c linux-2.4.23/arch/ia64/kernel/efi.c
@@ -46,7 +46,7 @@
  * prior to creating their own entries under /proc/efi.
  */
 #ifdef CONFIG_PROC_FS
-struct proc_dir_entry *efi_dir = NULL;
+struct proc_dir_entry *efi_dir;
 #endif
 
 static unsigned long mem_limit = ~0UL;
@@ -324,7 +324,7 @@
 				check_md = q;
 
 				if (check_md->attribute & EFI_MEMORY_WB)
-					trim_bottom(md, granule_addr);
+					trim_bottom(check_md, granule_addr);
 
 				if (check_md->phys_addr < granule_addr)
 					continue;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)