Skip to contentSkip to conversation

rephrase acpi init messages for i386/x86_64

PATCH Jasper Spaans 1 participant 1 message Jul 18, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

Below is a simple patch which changes the wording of 'BIOS passes blacklist' into something which is more clear - not being a native speaker of English I was wondering whether 'BIOS passes blacklist' meant that my machine was listed or not.

Furthermore, nothing is displayed in the case a BIOS /is/ listed - adding a warning in that case seems useful to me.

Index: arch/i386/kernel/acpi/boot.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/i386/kernel/acpi/boot.c,v retrieving revision 1.5

arch/i386/kernel/acpi/boot.c +2 -1
diff -u -r1.5 boot.c
@@ -310,11 +310,12 @@
 
 	result = acpi_blacklisted();
 	if (result) {
+		printk(KERN_WARNING PREFIX "BIOS listed in blacklist, disabling ACPI support\n");
 		acpi_disabled = 1;
 		return result;
 	}
 	else
-		printk(KERN_NOTICE PREFIX "BIOS passes blacklist\n");
+		printk(KERN_NOTICE PREFIX "BIOS not listed in blacklist\n");
 
 #ifdef CONFIG_X86_LOCAL_APIC
 

Index: arch/x86_64/kernel/acpi/boot.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/x86_64/kernel/acpi/boot.c,v retrieving revision 1.4

arch/x86_64/kernel/acpi/boot.c +2 -1
diff -u -r1.4 boot.c
@@ -313,10 +313,11 @@
 
 	result = acpi_blacklisted();
 	if (result) {
+		printk(KERN_WARNING PREFIX "BIOS listed in blacklist, disabling ACPI support\n");
 		acpi_disabled = 1;
 		return result;
 	} else
-               printk(KERN_NOTICE PREFIX "BIOS passes blacklist\n");
+               printk(KERN_NOTICE PREFIX "BIOS not listed in blacklist\n");
 
 
 	extern int disable_apic;

VrGr,

Signature · 1 line
Jasper Spaans                 http://jsp.vs19.net/contact/