x86: Remove unnecessary call to initr_enable_interrupts()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Nov 2014 08:11:27 +0000 (16:11 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 13:34:02 +0000 (06:34 -0700)
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 <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
common/board_r.c

index 9f085b13821211d6df1dcef6bef684341631b8df..1b8998d093a55812ce3824d0051f7c49f8ef85ed 100644 (file)
@@ -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