Skip to content

Commit a3342c6

Browse files
KAGA-KOKOgregkh
authored andcommitted
init: Remove check_bugs() leftovers
commit 61235b2 upstream Everything is converted over to arch_cpu_finalize_init(). Remove the check_bugs() leftovers including the empty stubs in asm-generic, alpha, parisc, powerpc and xtensa. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Sneddon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8beabde commit a3342c6

File tree

6 files changed

+0
-89
lines changed

6 files changed

+0
-89
lines changed

arch/alpha/include/asm/bugs.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

arch/parisc/include/asm/bugs.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

arch/powerpc/include/asm/bugs.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

arch/xtensa/include/asm/bugs.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

include/asm-generic/bugs.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

init/main.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
#include <net/net_namespace.h>
105105

106106
#include <asm/io.h>
107-
#include <asm/bugs.h>
108107
#include <asm/setup.h>
109108
#include <asm/sections.h>
110109
#include <asm/cacheflush.h>
@@ -1137,10 +1136,6 @@ asmlinkage __visible void __init __no_sanitize_address start_kernel(void)
11371136
poking_init();
11381137

11391138
arch_cpu_finalize_init();
1140-
/* Temporary conditional until everything has been converted */
1141-
#ifndef CONFIG_ARCH_HAS_CPU_FINALIZE_INIT
1142-
check_bugs();
1143-
#endif
11441139

11451140
acpi_subsystem_init();
11461141
arch_post_acpi_subsys_init();

0 commit comments

Comments
 (0)