浏览代码

x86: Correct the typo in write_tables()

It should be #ifdef instead of #if.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Bin Meng 10 年之前
父节点
当前提交
cc4c8aca1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/lib/tables.c

+ 1 - 1
arch/x86/lib/tables.c

@@ -23,7 +23,7 @@ void write_tables(void)
 {
 {
 	u32 __maybe_unused rom_table_end = ROM_TABLE_ADDR;
 	u32 __maybe_unused rom_table_end = ROM_TABLE_ADDR;
 
 
-#if CONFIG_GENERATE_PIRQ_TABLE
+#ifdef CONFIG_GENERATE_PIRQ_TABLE
 	rom_table_end = write_pirq_routing_table(rom_table_end);
 	rom_table_end = write_pirq_routing_table(rom_table_end);
 	rom_table_end = ALIGN(rom_table_end, 1024);
 	rom_table_end = ALIGN(rom_table_end, 1024);
 #endif
 #endif