ACPICA: Add ACPI_MOVE_NAME macro to optimize 4-byte ACPI_NAME copies
authorBob Moore <robert.moore@intel.com>
Wed, 31 Oct 2012 02:27:40 +0000 (02:27 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:31:28 +0000 (00:31 +0100)
commitff60027174cf94bab6d4f45ab5c5da1de63b7d1b
tree22bfe2ea1113c0f4f5510c78ccf21d5960b92dbf
parentd8da9151bb7e2d18624fdd8dbb066419186f0ec1
ACPICA: Add ACPI_MOVE_NAME macro to optimize 4-byte ACPI_NAME copies

Resolves to a 32-bit move for the normal case, strncpy on machines
that do not support misaligned transfers.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/actypes.h