summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-08-02 00:45:48 -0400
committerLen Brown <len.brown@intel.com>2011-08-02 00:45:48 -0400
commit8997621bb2daaf19a4e9d82f118224159d8054e2 (patch)
treedbdbd1396a905899256eb318d8a80805b67d12cc /drivers/acpi
parent9c8b04be443b33939f374a811c82abeebe0a61d1 (diff)
downloadblackbird-op-linux-8997621bb2daaf19a4e9d82f118224159d8054e2.tar.gz
blackbird-op-linux-8997621bb2daaf19a4e9d82f118224159d8054e2.zip
ACPI print OSI(Linux) warning only once
This message gets repeated on some machines: https://bugzilla.kernel.org/show_bug.cgi?id=29292 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/osl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 52ca9649d769..37659804226c 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -155,7 +155,7 @@ static u32 acpi_osi_handler(acpi_string interface, u32 supported)
{
if (!strcmp("Linux", interface)) {
- printk(KERN_NOTICE FW_BUG PREFIX
+ printk_once(KERN_NOTICE FW_BUG PREFIX
"BIOS _OSI(Linux) query %s%s\n",
osi_linux.enable ? "honored" : "ignored",
osi_linux.cmdline ? " via cmdline" :
OpenPOWER on IntegriCloud