ACPI print OSI(Linux) warning only once
authorLen Brown <len.brown@intel.com>
Tue, 2 Aug 2011 04:45:48 +0000 (00:45 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 2 Aug 2011 04:45:48 +0000 (00:45 -0400)
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>
drivers/acpi/osl.c

index 52ca964..3765980 100644 (file)
@@ -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" :