summaryrefslogtreecommitdiff
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
index a156f2c..f92111e 100644
--- a/arch/x86/lib/tables.c
+++ b/arch/x86/lib/tables.c
@@ -80,9 +80,8 @@ void write_tables(void)
#ifdef CONFIG_SEABIOS
table_size = rom_table_end - rom_table_start;
- high_table = (u32)memalign(ROM_TABLE_ALIGN, table_size);
+ high_table = (u32)high_table_malloc(table_size);
if (high_table) {
- memset((void *)high_table, 0, table_size);
table_write_funcs[i](high_table);
cfg_tables[i].start = high_table;