Skip to contentSkip to conversation

x86: Remove unnecessary call to initr_enable_interrupts()

PATCH New Bin Meng 2 participants 3 messages Nov 20, 2014 – Nov 25, 2014

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 4/4 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).

---
 common/board_r.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/board_r.c +1 -1
index b5ea030..128fcce 100644
@@ -841,7 +841,7 @@ init_fnc_t init_sequence_r[] = {
 	board_early_init_r,
 #endif
 	interrupt_init,
-#if defined(CONFIG_ARM) || defined(CONFIG_x86)
+#if defined(CONFIG_ARM)
 	initr_enable_interrupts,
 #endif
 #ifdef CONFIG_X86
Signature · 1 line
1.8.2.1
#2 lore raw

PATCH 4/4 x86: Remove unnecessary call to initr_enable_interrupts()

Quoted 9 lines · Simon Glass
Quoted 7 lines · Bin Meng

Actually initr_enable_interrupts() was never called in an x86 build due to it was wrapped by CONFIG_x86 (typo of X86).

---
 common/board_r.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines

Tested on chromebook_link:

Applied to u-boot-x86, thanks!