mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
ia64/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.137045745@linutronix.de
This commit is contained in:
parent
ee31bb0524
commit
6c38e30056
3 changed files with 2 additions and 22 deletions
|
@ -9,6 +9,7 @@ menu "Processor type and features"
|
||||||
config IA64
|
config IA64
|
||||||
bool
|
bool
|
||||||
select ARCH_BINFMT_ELF_EXTRA_PHDRS
|
select ARCH_BINFMT_ELF_EXTRA_PHDRS
|
||||||
|
select ARCH_HAS_CPU_FINALIZE_INIT
|
||||||
select ARCH_HAS_DMA_MARK_CLEAN
|
select ARCH_HAS_DMA_MARK_CLEAN
|
||||||
select ARCH_HAS_STRNCPY_FROM_USER
|
select ARCH_HAS_STRNCPY_FROM_USER
|
||||||
select ARCH_HAS_STRNLEN_USER
|
select ARCH_HAS_STRNLEN_USER
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0 */
|
|
||||||
/*
|
|
||||||
* This is included by init/main.c to check for architecture-dependent bugs.
|
|
||||||
*
|
|
||||||
* Needs:
|
|
||||||
* void check_bugs(void);
|
|
||||||
*
|
|
||||||
* Based on <asm-alpha/bugs.h>.
|
|
||||||
*
|
|
||||||
* Modified 1998, 1999, 2003
|
|
||||||
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co.
|
|
||||||
*/
|
|
||||||
#ifndef _ASM_IA64_BUGS_H
|
|
||||||
#define _ASM_IA64_BUGS_H
|
|
||||||
|
|
||||||
#include <asm/processor.h>
|
|
||||||
|
|
||||||
extern void check_bugs (void);
|
|
||||||
|
|
||||||
#endif /* _ASM_IA64_BUGS_H */
|
|
|
@ -1067,8 +1067,7 @@ cpu_init (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void __init
|
void __init arch_cpu_finalize_init(void)
|
||||||
check_bugs (void)
|
|
||||||
{
|
{
|
||||||
ia64_patch_mckinley_e9((unsigned long) __start___mckinley_e9_bundles,
|
ia64_patch_mckinley_e9((unsigned long) __start___mckinley_e9_bundles,
|
||||||
(unsigned long) __end___mckinley_e9_bundles);
|
(unsigned long) __end___mckinley_e9_bundles);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue