patch-2.4.22 linux-2.4.22/arch/x86_64/kernel/e820.c

Next file: linux-2.4.22/arch/x86_64/kernel/head.S
Previous file: linux-2.4.22/arch/x86_64/kernel/bluesmoke.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/x86_64/kernel/e820.c linux-2.4.22/arch/x86_64/kernel/e820.c
@@ -500,6 +500,7 @@
 extern char command_line[], saved_command_line[];
 extern int fallback_aper_order;
 extern int iommu_setup(char *opt);
+extern int acpi_disabled;
 
 void __init parse_mem_cmdline (char ** cmdline_p)
 {
@@ -537,8 +538,10 @@
 		else if (!memcmp(from,"iommu=",6)) { 
 			iommu_setup(from+6); 
 		} 	
-		
 #endif
+ 		else if (!memcmp(from, "acpi=off", 8))
+  			acpi_disabled = 1;
+		
 	next:
 		c = *(from++);
 		if (!c)

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