Эх сурвалжийг харах

HPET: Remove spurious HPET busy warning message.

On x86 systems with CONFIG_HPET_TIMER enabled, when
the HPET driver (drivers/char/hpet.c) is loaded,
an incorrect busy message is printed when the driver
initializes since the HPET has already been allocated
by the core timer code. Remove the warning message.

Signed-off-by: David John <davidjon@xenontk.org>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
David John 16 жил өмнө
parent
commit
f26ed116c0

+ 0 - 4
drivers/char/hpet.c

@@ -897,8 +897,6 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
 		hdp->hd_address = ioremap(addr.minimum, addr.address_length);
 		hdp->hd_address = ioremap(addr.minimum, addr.address_length);
 
 
 		if (hpet_is_known(hdp)) {
 		if (hpet_is_known(hdp)) {
-			printk(KERN_DEBUG "%s: 0x%lx is busy\n",
-				__func__, hdp->hd_phys_address);
 			iounmap(hdp->hd_address);
 			iounmap(hdp->hd_address);
 			return AE_ALREADY_EXISTS;
 			return AE_ALREADY_EXISTS;
 		}
 		}
@@ -914,8 +912,6 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
 						HPET_RANGE_SIZE);
 						HPET_RANGE_SIZE);
 
 
 		if (hpet_is_known(hdp)) {
 		if (hpet_is_known(hdp)) {
-			printk(KERN_DEBUG "%s: 0x%lx is busy\n",
-				__func__, hdp->hd_phys_address);
 			iounmap(hdp->hd_address);
 			iounmap(hdp->hd_address);
 			return AE_ALREADY_EXISTS;
 			return AE_ALREADY_EXISTS;
 		}
 		}