summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2008-12-31 09:23:57 +0800
committerLen Brown <len.brown@intel.com>2008-12-31 01:02:05 -0500
commit889c78be9e8d84ea7f991b9b868e006cdb8e42b0 (patch)
tree07c093a6d3c8e5895eb3cf62ca3f676e3cc4d282 /drivers/acpi/osl.c
parent9b02d6e198d8249246760a93b3adb8df6ecb5204 (diff)
downloadop-kernel-dev-889c78be9e8d84ea7f991b9b868e006cdb8e42b0.zip
op-kernel-dev-889c78be9e8d84ea7f991b9b868e006cdb8e42b0.tar.gz
ACPI: osl.c: replace return_ACPI_STATUS with return
return_ACPI_STATUS is an internal acpica function, replace it with return. acpi_gbl_permanent_mmap moved from acglobal.h to acpixf.h for external use Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index c811142..6729a49 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -726,7 +726,7 @@ static acpi_status __acpi_os_execute(acpi_execute_type type,
dpc = kmalloc(sizeof(struct acpi_os_dpc), GFP_ATOMIC);
if (!dpc)
- return_ACPI_STATUS(AE_NO_MEMORY);
+ return AE_NO_MEMORY;
dpc->function = function;
dpc->context = context;
@@ -747,7 +747,7 @@ static acpi_status __acpi_os_execute(acpi_execute_type type,
status = AE_ERROR;
kfree(dpc);
}
- return_ACPI_STATUS(status);
+ return status;
}
acpi_status acpi_os_execute(acpi_execute_type type,
OpenPOWER on IntegriCloud