
22 Jul
2017
22 Jul
'17
3:33 p.m.
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
In Baytrail and Quark support code acpi_fill_madt() is identical.
Deduplicate its implementation by moving to lib/acpi_tables.c.
At the same time mark acpi_fill_madt() with __weak attribute to keep a possibility to override it in platform code
Signed-off-by: Andy Shevchenko andriy.shevchenko@linux.intel.com
arch/x86/cpu/baytrail/acpi.c | 29 ----------------------------- arch/x86/cpu/quark/acpi.c | 29 ----------------------------- arch/x86/lib/acpi_table.c | 29 +++++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 58 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com