diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 21:07:59 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 21:07:59 -0400 |
commit | 84c3d4aaec3338201b449034beac41635866bddf (patch) | |
tree | 3412951682fb2dd4feb8a5532f8efbaf8b345933 /drivers/clocksource/acpi_pm.c | |
parent | 43d2548bb2ef7e6d753f91468a746784041e522d (diff) | |
parent | fafa3a3f16723997f039a0193997464d66dafd8f (diff) |
Merge commit 'origin/master'
Manual merge of:
arch/powerpc/Kconfig
arch/powerpc/kernel/stacktrace.c
arch/powerpc/mm/slice.c
arch/ppc/kernel/smp.c
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); | ||