浏览代码

x86: assign nr_ioapics = 0 in smpboot_hooks.h

change smpboot_setup_io_apic() by to match x86_64 behaviour

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Glauber de Oliveira Costa 17 年之前
父节点
当前提交
3fa7b3487a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-x86/mach-default/smpboot_hooks.h

+ 2 - 0
include/asm-x86/mach-default/smpboot_hooks.h

@@ -41,4 +41,6 @@ static inline void smpboot_setup_io_apic(void)
 	 */
 	 */
 	if (!skip_ioapic_setup && nr_ioapics)
 	if (!skip_ioapic_setup && nr_ioapics)
 		setup_IO_APIC();
 		setup_IO_APIC();
+	else
+		nr_ioapics = 0;
 }
 }