[PATCH]: Implement nopmtmr

From: Prarit Bhargava
Date: Mon Dec 08 2008 - 13:31:30 EST


We have notsc and nohpet. Add nopmtmr for consistency.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c
index c201710..94246c9 100644
--- a/drivers/clocksource/acpi_pm.c
+++ b/drivers/clocksource/acpi_pm.c
@@ -248,3 +248,10 @@ static int __init parse_pmtmr(char *arg)
return 1;
}
__setup("pmtmr=", parse_pmtmr);
+
+static int __init disable_pmtmr(char *str)
+{
+ pmtmr_ioport = 0;
+ return 1;
+}
+__setup("nopmtmr", disable_pmtmr);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/