From: Dominik Brodowski <linux-JhLEnvuH02M@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Subject: [PATCH] be more silent if !CONFIG_ACPI_BOOT
Date: Fri, 15 Aug 2003 17:35:20 +0200 [thread overview]
Message-ID: <20030815153520.GB789@brodo.de> (raw)
A message "ACPI disabled" makes no sense if ACPI isn't even compiled into
the kernel.
Dominik
--- linux-2.6.0-test3+2/arch/i386/kernel/dmi_scan.c.original 2003-08-15 17:02:04.000000000 +0200
+++ linux-2.6.0-test3+2/arch/i386/kernel/dmi_scan.c 2003-08-15 17:04:42.000000000 +0200
@@ -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
next reply other threads:[~2003-08-15 15:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 15:35 Dominik Brodowski [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-08-15 17:05 [PATCH] be more silent if !CONFIG_ACPI_BOOT Brown, Len
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=20030815153520.GB789@brodo.de \
--to=linux-jhlenvuh02m@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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