summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r--arch/x86/lib/tables.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
index 75ffbc1b22..f15b2e2855 100644
--- a/arch/x86/lib/tables.c
+++ b/arch/x86/lib/tables.c
@@ -8,6 +8,7 @@
#include <asm/sfi.h>
#include <asm/mpspec.h>
#include <asm/tables.h>
+#include <asm/acpi_table.h>
u8 table_compute_checksum(void *v, int len)
{
@@ -51,4 +52,8 @@ void write_tables(void)
rom_table_end = write_mp_table(rom_table_end);
rom_table_end = ALIGN(rom_table_end, 1024);
#endif
+#ifdef CONFIG_GENERATE_ACPI_TABLE
+ rom_table_end = write_acpi_tables(rom_table_end);
+ rom_table_end = ALIGN(rom_table_end, 1024);
+#endif
}
OpenPOWER on IntegriCloud