Skip to content

Commit

Permalink
init: Remove check_bugs() leftovers
Browse files Browse the repository at this point in the history
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 <tglx@linutronix.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20230613224545.553215951@linutronix.de
  • Loading branch information
Thomas Gleixner committed Jun 16, 2023
1 parent 9349b5c commit 61235b2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 89 deletions.
20 changes: 0 additions & 20 deletions arch/alpha/include/asm/bugs.h

This file was deleted.

20 changes: 0 additions & 20 deletions arch/parisc/include/asm/bugs.h

This file was deleted.

15 changes: 0 additions & 15 deletions arch/powerpc/include/asm/bugs.h

This file was deleted.

18 changes: 0 additions & 18 deletions arch/xtensa/include/asm/bugs.h

This file was deleted.

11 changes: 0 additions & 11 deletions include/asm-generic/bugs.h

This file was deleted.

5 changes: 0 additions & 5 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
#include <net/net_namespace.h>

#include <asm/io.h>
#include <asm/bugs.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/cacheflush.h>
Expand Down Expand Up @@ -1079,10 +1078,6 @@ asmlinkage __visible void __init __no_sanitize_address __noreturn start_kernel(v
delayacct_init();

arch_cpu_finalize_init();
/* Temporary conditional until everything has been converted */
#ifndef CONFIG_ARCH_HAS_CPU_FINALIZE_INIT
check_bugs();
#endif

acpi_subsystem_init();
arch_post_acpi_subsys_init();
Expand Down

0 comments on commit 61235b2

Please sign in to comment.