summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exoparg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/exoparg3.c')
-rw-r--r--drivers/acpi/acpica/exoparg3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exoparg3.c b/drivers/acpi/acpica/exoparg3.c
index 1c64a988cbee..fa100b3b92ee 100644
--- a/drivers/acpi/acpica/exoparg3.c
+++ b/drivers/acpi/acpica/exoparg3.c
@@ -237,8 +237,8 @@ acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state)
/* We have a buffer, copy the portion requested */
- ACPI_MEMCPY(buffer, operand[0]->string.pointer + index,
- length);
+ memcpy(buffer, operand[0]->string.pointer + index,
+ length);
}
/* Set the length of the new String/Buffer */