diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-27 13:38:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-27 13:38:48 -0400 |
commit | 73964f6bc8e378715887592abe8a512f403db6a8 (patch) | |
tree | c4aaab48d36ed06243542518ff644c654bdaf586 /drivers | |
parent | 9d98ece16f1a1df0f456a2ee9429d03e82e839a2 (diff) | |
parent | e56d953d190061938b31cabbe01b7f3d76c60bd0 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
ACPI: IA64=y ACPI=n build fix
ACPI: Kill overly verbose "power state" log messages
ACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression
ACPI: Clarify resource conflict message
thinkpad-acpi: fix CONFIG_THINKPAD_ACPI_HOTKEY_POLL build problem
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/osl.c | 8 | ||||
-rw-r--r-- | drivers/acpi/processor_idle.c | 7 | ||||
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 5633b86e3ed1..7c1c59ea9ec6 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1161,7 +1161,13 @@ int acpi_check_resource_conflict(struct resource *res) | |||
1161 | res_list_elem->name, | 1161 | res_list_elem->name, |
1162 | (long long) res_list_elem->start, | 1162 | (long long) res_list_elem->start, |
1163 | (long long) res_list_elem->end); | 1163 | (long long) res_list_elem->end); |
1164 | printk(KERN_INFO "ACPI: Device needs an ACPI driver\n"); | 1164 | if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX) |
1165 | printk(KERN_NOTICE "ACPI: This conflict may" | ||
1166 | " cause random problems and system" | ||
1167 | " instability\n"); | ||
1168 | printk(KERN_INFO "ACPI: If an ACPI driver is available" | ||
1169 | " for this device, you should use it instead of" | ||
1170 | " the native driver\n"); | ||
1165 | } | 1171 | } |
1166 | if (acpi_enforce_resources == ENFORCE_RESOURCES_STRICT) | 1172 | if (acpi_enforce_resources == ENFORCE_RESOURCES_STRICT) |
1167 | return -EBUSY; | 1173 | return -EBUSY; |
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index cc61a6220102..706eacf49f4e 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -1214,13 +1214,6 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr, | |||
1214 | acpi_processor_setup_cpuidle(pr); | 1214 | acpi_processor_setup_cpuidle(pr); |
1215 | if (cpuidle_register_device(&pr->power.dev)) | 1215 | if (cpuidle_register_device(&pr->power.dev)) |
1216 | return -EIO; | 1216 | return -EIO; |
1217 | |||
1218 | printk(KERN_INFO PREFIX "CPU%d (power states:", pr->id); | ||
1219 | for (i = 1; i <= pr->power.count; i++) | ||
1220 | if (pr->power.states[i].valid) | ||
1221 | printk(" C%d[C%d]", i, | ||
1222 | pr->power.states[i].type); | ||
1223 | printk(")\n"); | ||
1224 | } | 1217 | } |
1225 | #ifdef CONFIG_ACPI_PROCFS | 1218 | #ifdef CONFIG_ACPI_PROCFS |
1226 | /* 'power' [R] */ | 1219 | /* 'power' [R] */ |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 3910f2f3eada..d93108d148fc 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -2235,7 +2235,9 @@ static int tpacpi_hotkey_driver_mask_set(const u32 mask) | |||
2235 | 2235 | ||
2236 | HOTKEY_CONFIG_CRITICAL_START | 2236 | HOTKEY_CONFIG_CRITICAL_START |
2237 | hotkey_driver_mask = mask; | 2237 | hotkey_driver_mask = mask; |
2238 | #ifdef CONFIG_THINKPAD_ACPI_HOTKEY_POLL | ||
2238 | hotkey_source_mask |= (mask & ~hotkey_all_mask); | 2239 | hotkey_source_mask |= (mask & ~hotkey_all_mask); |
2240 | #endif | ||
2239 | HOTKEY_CONFIG_CRITICAL_END | 2241 | HOTKEY_CONFIG_CRITICAL_END |
2240 | 2242 | ||
2241 | rc = hotkey_mask_set((hotkey_acpi_mask | hotkey_driver_mask) & | 2243 | rc = hotkey_mask_set((hotkey_acpi_mask | hotkey_driver_mask) & |