summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Stone <al.stone@linaro.org>2015-07-15 19:05:38 -0600
committerGraeme Gregory <graeme.gregory@linaro.org>2015-08-31 11:58:38 +0100
commit122d67d2bab635e3e1801a7fad02361bc5ff12ea (patch)
tree08a61481cf51e4e2fd3d98c77fa202d69f544b12
parent10716d746dfea12cce5168ffb5cb175183a2bdd8 (diff)
ACPI: remove definition of BAD_MADT_ENTRY macroacpi-topic-bad-madt
Now that we have introduced to bad_madt_entry(), and we have removed all the usages of the BAD_MADT_ENTRY macro from all of the various architectures that use it (arm64, ia64, x86), we can remove the macro definition since it is no longer used. Signed-off-by: Al Stone <al.stone@linaro.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Len Brown <lenb@kernel.org>
-rw-r--r--include/linux/acpi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index d2445fa9999f..06072d898e5e 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -131,10 +131,6 @@ static inline void acpi_initrd_override(void *data, size_t size)
}
#endif
-#define BAD_MADT_ENTRY(entry, end) ( \
- (!entry) || (unsigned long)entry + sizeof(*entry) > end || \
- ((struct acpi_subtable_header *)entry)->length < sizeof(*entry))
-
char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
void __acpi_unmap_table(char *map, unsigned long size);
int early_acpi_boot_init(void);