Browse Source

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>
Len Brown 14 years ago
parent
commit
8997621bb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/acpi/osl.c

+ 1 - 1
drivers/acpi/osl.c

@@ -155,7 +155,7 @@ static u32 acpi_osi_handler(acpi_string interface, u32 supported)
 {
 {
 	if (!strcmp("Linux", interface)) {
 	if (!strcmp("Linux", interface)) {
 
 
-		printk(KERN_NOTICE FW_BUG PREFIX
+		printk_once(KERN_NOTICE FW_BUG PREFIX
 			"BIOS _OSI(Linux) query %s%s\n",
 			"BIOS _OSI(Linux) query %s%s\n",
 			osi_linux.enable ? "honored" : "ignored",
 			osi_linux.enable ? "honored" : "ignored",
 			osi_linux.cmdline ? " via cmdline" :
 			osi_linux.cmdline ? " via cmdline" :