summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-06-14 01:39:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-08 19:49:18 +0200
commitecc68c37bba469401a2cdc1a73661c31ef014742 (patch)
tree09947d49c4c1412d01fdfac1132ebe6562ff12ff /init
parent504aece3f6bcf88b31a809b3bbbe6b1931f78d18 (diff)
downloadlinux-ecc68c37bba469401a2cdc1a73661c31ef014742.tar.gz
linux-ecc68c37bba469401a2cdc1a73661c31ef014742.tar.bz2
linux-ecc68c37bba469401a2cdc1a73661c31ef014742.zip
init: Remove check_bugs() leftovers
commit 61235b24b9cb37c13fcad5b9596d59a1afdcec30 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 <tglx@linutronix.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Link: https://lore.kernel.org/r/20230613224545.553215951@linutronix.de Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c
index 79aedcb7cc6d..61861b7aee88 100644
--- a/init/main.c
+++ b/init/main.c
@@ -94,7 +94,6 @@
#include <linux/mem_encrypt.h>
#include <asm/io.h>
-#include <asm/bugs.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/cacheflush.h>
@@ -728,10 +727,6 @@ asmlinkage __visible void __init start_kernel(void)
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();