HPET: Remove spurious HPET busy warning message.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 11:12 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f26ed1...
Commit:     f26ed116c0baa8f9cbbe3d5db84034d75f6250f8
Parent:     8eb95f28f66b1a5461fdbcc9a1ee9068fb2cf2b6
Author:     David John <davidjon@xenontk.org>
AuthorDate: Fri Oct 10 11:42:44 2008 +0530
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Fri Oct 10 09:25:43 2008 +0200

    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>
---
 drivers/char/hpet.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 2908a0e..f3cfb4c 100644
--- a/drivers/char/hpet.c
+++ b/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);
 
 		if (hpet_is_known(hdp)) {
-			printk(KERN_DEBUG "%s: 0x%lx is busy\n",
-				__func__, hdp->hd_phys_address);
 			iounmap(hdp->hd_address);
 			return AE_ALREADY_EXISTS;
 		}
@@ -914,8 +912,6 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
 						HPET_RANGE_SIZE);
 
 		if (hpet_is_known(hdp)) {
-			printk(KERN_DEBUG "%s: 0x%lx is busy\n",
-				__func__, hdp->hd_phys_address);
 			iounmap(hdp->hd_address);
 			return AE_ALREADY_EXISTS;
 		}
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HPET: Remove spurious HPET busy warning message., Linux Kernel Mailing ..., (Mon Oct 13, 11:12 am)