aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-05-02 08:16:37 -0400
committerTejun Heo <tj@kernel.org>2011-05-02 08:16:47 -0400
commitba67cf5cf2ce10ad86a212b70f8c7c75d93a5016 (patch)
tree70242f5927c6d6454bd352ff78f956cfc5238f59 /drivers/acpi
parentaff364860aa105b2deacc6f21ec8ef524460e3fc (diff)
parent2be19102b71c1a45d37fec50303791daa1a06869 (diff)
Merge branch 'x86/urgent' into x86-mm
Merge reason: Pick up the following two fix commits. 2be19102b7: x86, NUMA: Fix empty memblk detection in numa_cleanup_meminfo() 765af22da8: x86-32, NUMA: Fix ACPI NUMA init broken by recent x86-64 change Scheduled NUMA init 32/64bit unification changes depend on these. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/apei/ghes.c2
-rw-r--r--drivers/acpi/processor_throttling.c2
-rw-r--r--drivers/acpi/scan.c4
-rw-r--r--drivers/acpi/video.c4
4 files changed, 8 insertions, 4 deletions
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index d1d484d4a06a..f703b2881153 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -241,7 +241,7 @@ static inline int ghes_severity(int severity)
241 case CPER_SEV_FATAL: 241 case CPER_SEV_FATAL:
242 return GHES_SEV_PANIC; 242 return GHES_SEV_PANIC;
243 default: 243 default:
244 /* Unkown, go panic */ 244 /* Unknown, go panic */
245 return GHES_SEV_PANIC; 245 return GHES_SEV_PANIC;
246 } 246 }
247} 247}
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
index 6f2c6d914cbc..605a2954ef17 100644
--- a/drivers/acpi/processor_throttling.c
+++ b/drivers/acpi/processor_throttling.c
@@ -1152,7 +1152,7 @@ int acpi_processor_set_throttling(struct acpi_processor *pr,
1152 */ 1152 */
1153 if (!match_pr->flags.throttling) { 1153 if (!match_pr->flags.throttling) {
1154 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 1154 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
1155 "Throttling Controll is unsupported " 1155 "Throttling Control is unsupported "
1156 "on CPU %d\n", i)); 1156 "on CPU %d\n", i));
1157 continue; 1157 continue;
1158 } 1158 }
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index b136c9c1e531..449c556274c0 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -943,6 +943,10 @@ static int acpi_bus_get_flags(struct acpi_device *device)
943 if (ACPI_SUCCESS(status)) 943 if (ACPI_SUCCESS(status))
944 device->flags.lockable = 1; 944 device->flags.lockable = 1;
945 945
946 /* Power resources cannot be power manageable. */
947 if (device->device_type == ACPI_BUS_TYPE_POWER)
948 return 0;
949
946 /* Presence of _PS0|_PR0 indicates 'power manageable' */ 950 /* Presence of _PS0|_PR0 indicates 'power manageable' */
947 status = acpi_get_handle(device->handle, "_PS0", &temp); 951 status = acpi_get_handle(device->handle, "_PS0", &temp);
948 if (ACPI_FAILURE(status)) 952 if (ACPI_FAILURE(status))
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 31e9e10f657e..ec574fc8fbc6 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1354,7 +1354,7 @@ acpi_video_bus_get_devices(struct acpi_video_bus *video,
1354 status = acpi_video_bus_get_one_device(dev, video); 1354 status = acpi_video_bus_get_one_device(dev, video);
1355 if (ACPI_FAILURE(status)) { 1355 if (ACPI_FAILURE(status)) {
1356 printk(KERN_WARNING PREFIX 1356 printk(KERN_WARNING PREFIX
1357 "Cant attach device\n"); 1357 "Can't attach device\n");
1358 continue; 1358 continue;
1359 } 1359 }
1360 } 1360 }
@@ -1373,7 +1373,7 @@ static int acpi_video_bus_put_one_device(struct acpi_video_device *device)
1373 acpi_video_device_notify); 1373 acpi_video_device_notify);
1374 if (ACPI_FAILURE(status)) { 1374 if (ACPI_FAILURE(status)) {
1375 printk(KERN_WARNING PREFIX 1375 printk(KERN_WARNING PREFIX
1376 "Cant remove video notify handler\n"); 1376 "Can't remove video notify handler\n");
1377 } 1377 }
1378 if (device->backlight) { 1378 if (device->backlight) {
1379 backlight_device_unregister(device->backlight); 1379 backlight_device_unregister(device->backlight);