mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]: Implement nopmtmr
@ 2008-12-08 18:31 Prarit Bhargava
  0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2008-12-08 18:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: Prarit Bhargava

We have notsc and nohpet. Add nopmtmr for consistency.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-08 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-08 18:31 [PATCH]: Implement nopmtmr Prarit Bhargava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome