Skip to content

Commit f26ed11

Browse files
David JohnIngo Molnar
authored andcommitted
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>
1 parent 8eb95f2 commit f26ed11

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/char/hpet.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,6 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
897897
hdp->hd_address = ioremap(addr.minimum, addr.address_length);
898898

899899
if (hpet_is_known(hdp)) {
900-
printk(KERN_DEBUG "%s: 0x%lx is busy\n",
901-
__func__, hdp->hd_phys_address);
902900
iounmap(hdp->hd_address);
903901
return AE_ALREADY_EXISTS;
904902
}
@@ -914,8 +912,6 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
914912
HPET_RANGE_SIZE);
915913

916914
if (hpet_is_known(hdp)) {
917-
printk(KERN_DEBUG "%s: 0x%lx is busy\n",
918-
__func__, hdp->hd_phys_address);
919915
iounmap(hdp->hd_address);
920916
return AE_ALREADY_EXISTS;
921917
}

0 commit comments

Comments
 (0)