ACPI: Move BAD_MADT_ENTRY() to linux/acpi.h
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 18 Feb 2014 16:23:57 +0000 (00:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Feb 2014 23:56:07 +0000 (00:56 +0100)
commit328281b1cda4dfef5b86c255b0aba8a8a96e0dad
tree7fdc61c829c944729e3a7660051a55f3cd1c853c
parentdf86f5df79d8c2035a88fb985925e49475c0cdca
ACPI: Move BAD_MADT_ENTRY() to linux/acpi.h

BAD_MADT_ENTRY() is arch independent and will be used for all
architectures which parse MADT, so move it to linux/acpi.h to
reduce code duplication.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/ia64/kernel/acpi.c
arch/x86/kernel/acpi/boot.c
include/linux/acpi.h