[U-Boot] [PATCH] x86: Correct the typo in write_tables()

It should be #ifdef instead of #if.
Signed-off-by: Bin Meng bmeng.cn@gmail.com ---
arch/x86/lib/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index b390a4b..0836e1e 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

On 28 April 2015 at 04:37, Bin Meng bmeng.cn@gmail.com wrote:
It should be #ifdef instead of #if.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
arch/x86/lib/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org

On 28 April 2015 at 08:13, Simon Glass sjg@chromium.org wrote:
On 28 April 2015 at 04:37, Bin Meng bmeng.cn@gmail.com wrote:
It should be #ifdef instead of #if.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
arch/x86/lib/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Simon Glass