Files
android_kernel_fxtec_sm6115/include/linux
Thomas Gleixner ecc9d725a3 init: Provide arch_cpu_finalize_init()
commit 7725acaa4f0c04fbefb0e0d342635b967bb7d414 upstream

check_bugs() has become a dumping ground for all sorts of activities to
finalize the CPU initialization before running the rest of the init code.

Most are empty, a few do actual bug checks, some do alternative patching
and some cobble a CPU advertisement string together....

Aside of that the current implementation requires duplicated function
declaration and mostly empty header files for them.

Provide a new function arch_cpu_finalize_init(). Provide a generic
declaration if CONFIG_ARCH_HAS_CPU_FINALIZE_INIT is selected and a stub
inline otherwise.

This requires a temporary #ifdef in start_kernel() which will be removed
along with check_bugs() once the architectures are converted over.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230613224544.957805717@linutronix.de
Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-08 19:49:17 +02:00
..
2019-12-13 08:51:18 +01:00
2023-05-30 12:42:09 +01:00
2022-10-26 13:19:32 +02:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2023-08-08 19:49:17 +02:00
2019-11-24 08:19:14 +01:00
2021-12-08 08:50:13 +01:00
2021-01-30 13:32:12 +01:00
2019-10-17 13:45:42 -07:00
2021-05-22 10:59:50 +02:00
2022-10-26 13:19:35 +02:00
2019-12-13 08:52:43 +01:00
2021-03-04 09:39:44 +01:00
2022-08-25 11:15:23 +02:00
2021-02-07 14:48:38 +01:00
2021-11-26 11:35:57 +01:00
2019-12-31 16:35:38 +01:00
2021-06-30 08:48:18 -04:00
2023-06-21 15:39:57 +02:00
2023-06-21 15:39:57 +02:00
2023-03-17 08:31:43 +01:00
2023-02-22 12:47:17 +01:00
2021-12-14 10:18:04 +01:00
2020-04-02 15:28:22 +02:00
2020-04-02 15:28:23 +02:00
2021-12-14 10:18:06 +01:00