x86: Fix up CONFIG_X86_64 check
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:04:00 +0000 (07:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commit34722da68a4edf3fcd4be164557a79f99e695506
treed339867d72f70d3590b65ad55658612ef5a3d73f
parenta160092a610f4345cea5b606a8daf27d1feba185
x86: Fix up CONFIG_X86_64 check

When SPL and U-Boot proper have different settings for this flag, we need to
use the correct one. Fix this up in the interrupt code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/i386/interrupt.c