Skip to contentSkip to conversation

: Implement nopmtmr

PATCH New Prarit Bhargava 1 participant 1 message Dec 8, 2008 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Implement nopmtmr

We have notsc and nohpet. Add nopmtmr for consistency.

drivers/clocksource/acpi_pm.c +7 -0
index c201710..94246c9 100644
@@ -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);