From: Bin Meng Date: Tue, 28 Apr 2015 10:37:03 +0000 (+0800) Subject: x86: Correct the typo in write_tables() X-Git-Tag: v2015.07-rc1~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc4c8aca1de4a0a6ef81460217f64c4b76de5340;p=u-boot x86: Correct the typo in write_tables() It should be #ifdef instead of #if. Signed-off-by: Bin Meng Acked-by: Simon Glass --- diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index b390a4b381..0836e1e426 100644 --- a/arch/x86/lib/tables.c +++ b/arch/x86/lib/tables.c @@ -23,7 +23,7 @@ void write_tables(void) { 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 = ALIGN(rom_table_end, 1024); #endif