diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-06-14 02:39:32 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-06-16 11:16:00 +0300 |
commit | 7f066a22fe353a827a402ee2835e81f045b1574d (patch) | |
tree | aeaf073d28812728af66e59f45df763eb8a04006 /arch/mips/include | |
parent | 9ceecc2589b9d7cef6b321339ed8de484eac4b20 (diff) | |
download | linux-7f066a22fe353a827a402ee2835e81f045b1574d.tar.xz |
mips/cpu: Switch to arch_cpu_finalize_init()
check_bugs() is about to be phased out. Switch over to the new
arch_cpu_finalize_init() implementation.
No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230613224545.312438573@linutronix.de
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/bugs.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/mips/include/asm/bugs.h b/arch/mips/include/asm/bugs.h index 653f78f3a685..84be74afcb9a 100644 --- a/arch/mips/include/asm/bugs.h +++ b/arch/mips/include/asm/bugs.h @@ -1,17 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * This is included by init/main.c to check for architecture-dependent bugs. - * * Copyright (C) 2007 Maciej W. Rozycki - * - * Needs: - * void check_bugs(void); */ #ifndef _ASM_BUGS_H #define _ASM_BUGS_H #include <linux/bug.h> -#include <linux/delay.h> #include <linux/smp.h> #include <asm/cpu.h> @@ -24,17 +18,6 @@ extern void check_bugs64_early(void); extern void check_bugs32(void); extern void check_bugs64(void); -static inline void __init check_bugs(void) -{ - unsigned int cpu = smp_processor_id(); - - cpu_data[cpu].udelay_val = loops_per_jiffy; - check_bugs32(); - - if (IS_ENABLED(CONFIG_CPU_R4X00_BUGS64)) - check_bugs64(); -} - static inline int r4k_daddiu_bug(void) { if (!IS_ENABLED(CONFIG_CPU_R4X00_BUGS64)) |