Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 944d5c3f authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Greg Kroah-Hartman
Browse files

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: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20230613224545.553215951@linutronix.de


Signed-off-by: default avatarDaniel Sneddon <daniel.sneddon@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a03ef708
Loading
Loading
Loading
Loading

arch/alpha/include/asm/bugs.h

deleted100644 → 0
+0 −20
Original line number Diff line number Diff line
/*
 *  include/asm-alpha/bugs.h
 *
 *  Copyright (C) 1994  Linus Torvalds
 */

/*
 * This is included by init/main.c to check for architecture-dependent bugs.
 *
 * Needs:
 *	void check_bugs(void);
 */

/*
 * I don't know of any alpha bugs yet.. Nice chip
 */

static void check_bugs(void)
{
}

arch/parisc/include/asm/bugs.h

deleted100644 → 0
+0 −20
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *  include/asm-parisc/bugs.h
 *
 *  Copyright (C) 1999	Mike Shaver
 */

/*
 * This is included by init/main.c to check for architecture-dependent bugs.
 *
 * Needs:
 *	void check_bugs(void);
 */

#include <asm/processor.h>

static inline void check_bugs(void)
{
//	identify_cpu(&boot_cpu_data);
}

arch/powerpc/include/asm/bugs.h

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _ASM_POWERPC_BUGS_H
#define _ASM_POWERPC_BUGS_H

/*
 */

/*
 * This file is included by 'init/main.c' to check for
 * architecture-dependent bugs.
 */

static inline void check_bugs(void) { }

#endif	/* _ASM_POWERPC_BUGS_H */

arch/xtensa/include/asm/bugs.h

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
/*
 * include/asm-xtensa/bugs.h
 *
 * This is included by init/main.c to check for architecture-dependent bugs.
 *
 * Xtensa processors don't have any bugs.  :)
 *
 * This file is subject to the terms and conditions of the GNU General
 * Public License.  See the file "COPYING" in the main directory of
 * this archive for more details.
 */

#ifndef _XTENSA_BUGS_H
#define _XTENSA_BUGS_H

static void check_bugs(void) { }

#endif /* _XTENSA_BUGS_H */

include/asm-generic/bugs.h

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_GENERIC_BUGS_H
#define __ASM_GENERIC_BUGS_H
/*
 * This file is included by 'init/main.c' to check for
 * architecture-dependent bugs.
 */

static inline void check_bugs(void) { }

#endif	/* __ASM_GENERIC_BUGS_H */
Loading