aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-15 13:39:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-15 13:39:57 -0400
commitda6e88f4963385b1b649b043691d206fbb951913 (patch)
tree779a1a6cf04dad09dee0828ad4ece0927de1b5f3 /drivers/clocksource
parent61d97f4fcf73d30864a52373a34093be25be6a03 (diff)
parent7dc9719682ce8c46215bc9a1bdc7ee0c38ada94b (diff)
Merge branch 'timers/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86: add PCI ID for 6300ESB force hpet x86: add another PCI ID for ICH6 force-hpet kernel-paramaters: document pmtmr= command line option acpi_pm clccksource: fix printk format warning nohz: don't stop idle tick if softirqs are pending. pmtmr: allow command line override of ioport nohz: reduce jiffies polling overhead hrtimer: Remove unused variables in ktime_divns() hrtimer: remove warning in hres_timers_resume posix-timers: print RT watchdog message
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/acpi_pm.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c
index 7b46faf22318..bcd7d0e429e8 100644
--- a/drivers/clocksource/acpi_pm.c
+++ b/drivers/clocksource/acpi_pm.c
@@ -215,3 +215,22 @@ pm_good:
215 * but we still need to load before device_initcall 215 * but we still need to load before device_initcall
216 */ 216 */
217fs_initcall(init_acpi_pm_clocksource); 217fs_initcall(init_acpi_pm_clocksource);
218
219/*
220 * Allow an override of the IOPort. Stupid BIOSes do not tell us about
221 * the PMTimer, but we might know where it is.
222 */
223static int __init parse_pmtmr(char *arg)
224{
225 unsigned long base;
226
227 if (strict_strtoul(arg, 16, &base))
228 return -EINVAL;
229
230 printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n",
231 (unsigned int)pmtmr_ioport, base);
232 pmtmr_ioport = base;
233
234 return 1;
235}
236__setup("pmtmr=", parse_pmtmr);