Skip to contentSkip to conversation

be more silent if !CONFIG_ACPI_BOOT

PATCH New Dominik Brodowski 1 participant 1 message Aug 15, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 be more silent if !CONFIG_ACPI_BOOT

A message "ACPI disabled" makes no sense if ACPI isn't even compiled into the kernel.

Dominik

arch/i386/kernel/dmi_scan.c renamed from arch/i386/kernel/dmi_scan.c.original +2 -0
@@ -1014,8 +1014,10 @@
 			else if (year < 1 || (year > 90 && year <= 99))
 				disable = 1; 
 			if (disable && !acpi_force) { 
+#ifdef ACPI_BOOT		
 				printk(KERN_NOTICE "ACPI disabled because your bios is from %s and too old\n", s);
 				printk(KERN_NOTICE "You can enable it with acpi=force\n");
+#endif	// CONFIG_ACPI_BOOT
 				acpi_disabled = 1; 
 			} 
 		}

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01