summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-04-28 18:37:03 +0800
committerSimon Glass <sjg@chromium.org>2015-04-29 18:51:50 -0600
commitcc4c8aca1de4a0a6ef81460217f64c4b76de5340 (patch)
treedd785959cdff7fe1f6fe57f0b3de9ab691ed2ef2 /arch/x86
parent99556d7debe02d3af4c1b5cc17ad5fa457c2ce67 (diff)
downloadtalos-obmc-uboot-cc4c8aca1de4a0a6ef81460217f64c4b76de5340.tar.gz
talos-obmc-uboot-cc4c8aca1de4a0a6ef81460217f64c4b76de5340.zip
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/tables.c2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud