aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-12-16 01:04:27 -0500
committerLen Brown <len.brown@intel.com>2006-12-16 01:04:27 -0500
commitcece901481bafbf14de8cbd3a89ae869ea881055 (patch)
treef9e240443643008c8feeaf55919105dc63ab8c72 /drivers/acpi/osl.c
parentcfee47f99bc14a6d7c6b0be2284db2cef310a815 (diff)
parent50dd096973f1d95aa03c6a6d9e148d706b62b68e (diff)
Pull style into test branch
Conflicts: drivers/acpi/button.c drivers/acpi/ec.c drivers/acpi/osl.c drivers/acpi/sbs.c
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 02b30ae6a68e..b7ca020a0565 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -568,6 +568,7 @@ void acpi_os_derive_pci_id(acpi_handle rhandle, /* upper bound */
568static void acpi_os_execute_deferred(struct work_struct *work) 568static void acpi_os_execute_deferred(struct work_struct *work)
569{ 569{
570 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work); 570 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work);
571
571 if (!dpc) { 572 if (!dpc) {
572 printk(KERN_ERR PREFIX "Invalid (NULL) context\n"); 573 printk(KERN_ERR PREFIX "Invalid (NULL) context\n");
573 return; 574 return;
@@ -1051,7 +1052,7 @@ acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
1051 1052
1052acpi_status acpi_os_purge_cache(acpi_cache_t * cache) 1053acpi_status acpi_os_purge_cache(acpi_cache_t * cache)
1053{ 1054{
1054 (void)kmem_cache_shrink(cache); 1055 kmem_cache_shrink(cache);
1055 return (AE_OK); 1056 return (AE_OK);
1056} 1057}
1057 1058