diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-15 18:29:07 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-15 18:29:07 -0400 |
commit | 82638844d9a8581bbf33201cc209a14876eca167 (patch) | |
tree | 961d7f9360194421a71aa644a9d0c176a960ce49 /drivers/clocksource/acpi_pm.c | |
parent | 9982fbface82893e77d211fbabfbd229da6bdde6 (diff) | |
parent | 63cf13b77ab785e87c867defa8545e6d4a989774 (diff) |
Merge branch 'linus' into cpus4096
Conflicts:
arch/x86/xen/smp.c
kernel/sched_rt.c
net/iucv/iucv.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/clocksource/acpi_pm.c')
-rw-r--r-- | drivers/clocksource/acpi_pm.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c index 7b46faf22318..5ca1d80de182 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 | */ |
217 | fs_initcall(init_acpi_pm_clocksource); | 217 | fs_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 | */ | ||
223 | static 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%04lx\n", | ||
231 | (unsigned int)pmtmr_ioport, base); | ||
232 | pmtmr_ioport = base; | ||
233 | |||
234 | return 1; | ||
235 | } | ||
236 | __setup("pmtmr=", parse_pmtmr); | ||