x86: acpi: Return table length in acpi_create_madt_lapics()
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 May 2016 14:46:30 +0000 (07:46 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
commitfc4f5cccd87abf4c72b13f64b49719fde9107cad
tree37a01a67edb0a37489c40969e4b4e753ff526126
parent9e70a11622eb01c90c5152c08c3166adc60aed1e
x86: acpi: Return table length in acpi_create_madt_lapics()

Like other MADT table write routines, make acpi_create_madt_lapics()
return how many bytes it has written instead of the table end addr.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c