From d51457583f48c68e8b8ed69ed4cb4de11eac383a Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 20 Nov 2014 16:11:27 +0800 Subject: [PATCH] x86: Remove unnecessary call to initr_enable_interrupts() Actually initr_enable_interrupts() was never called in an x86 build due to it was wrapped by CONFIG_x86 (typo of X86). Signed-off-by: Bin Meng Acked-by: Simon Glass Tested-by: Simon Glass --- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_r.c b/common/board_r.c index 9f085b1382..1b8998d093 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -839,7 +839,7 @@ init_fnc_t init_sequence_r[] = { initr_kgdb, #endif interrupt_init, -#if defined(CONFIG_ARM) || defined(CONFIG_x86) +#if defined(CONFIG_ARM) initr_enable_interrupts, #endif #ifdef CONFIG_X86 -- 2.30.2