lkml.org 
[lkml]   [2003]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectrephrase acpi init messages for i386/x86_64
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
diff -u -r1.5 boot.c
--- CVS/arch/i386/kernel/acpi/boot.c 2 Apr 2003 05:01:48 -0000 1.5
+++ linux-2.5/arch/i386/kernel/acpi/boot.c 18 Jul 2003 08:05:29 -0000
@@ -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
diff -u -r1.4 boot.c
--- CVS/arch/x86_64/kernel/acpi/boot.c 26 Jun 2003 16:25:45 -0000 1.4
+++ linux-2.5/arch/x86_64/kernel/acpi/boot.c 18 Jul 2003 08:05:35 -0000
@@ -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,
--
Jasper Spaans http://jsp.vs19.net/contact/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.020 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site