mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jasper Spaans <jasper@vs19.net>
To: linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: rephrase acpi init messages for i386/x86_64
Date: Fri, 18 Jul 2003 11:38:51 +0200	[thread overview]
Message-ID: <20030718093851.GA1434@spaans.vs19.net> (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
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/

                 reply	other threads:[~2003-07-18  9:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030718093851.GA1434@spaans.vs19.net \
    --to=jasper@vs19.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®