Commit bb733e43 authored by Thomas Gleixner's avatar Thomas Gleixner

x86/irq: Move apic_post_init() invocation to one place

No point to call it from both 32bit and 64bit implementations of
default_setup_apic_routing(). Move it to the caller.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200826112332.658496557@linutronix.de
parent 9006c133
...@@ -1429,6 +1429,9 @@ void __init apic_intr_mode_init(void) ...@@ -1429,6 +1429,9 @@ void __init apic_intr_mode_init(void)
break; break;
} }
if (x86_platform.apic_post_init)
x86_platform.apic_post_init();
apic_bsp_setup(upmode); apic_bsp_setup(upmode);
} }
......
...@@ -170,9 +170,6 @@ void __init default_setup_apic_routing(void) ...@@ -170,9 +170,6 @@ void __init default_setup_apic_routing(void)
if (apic->setup_apic_routing) if (apic->setup_apic_routing)
apic->setup_apic_routing(); apic->setup_apic_routing();
if (x86_platform.apic_post_init)
x86_platform.apic_post_init();
} }
void __init generic_apic_probe(void) void __init generic_apic_probe(void)
......
...@@ -32,9 +32,6 @@ void __init default_setup_apic_routing(void) ...@@ -32,9 +32,6 @@ void __init default_setup_apic_routing(void)
break; break;
} }
} }
if (x86_platform.apic_post_init)
x86_platform.apic_post_init();
} }
int __init default_acpi_madt_oem_check(char *oem_id, char *oem_table_id) int __init default_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment