Skip to content

Commit

Permalink
ia64/cpu: Switch to arch_cpu_finalize_init()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Gleixner committed Jun 16, 2023
1 parent ee31bb0 commit 6c38e30
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
1 change: 1 addition & 0 deletions arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ menu "Processor type and features"
config IA64
bool
select ARCH_BINFMT_ELF_EXTRA_PHDRS
select ARCH_HAS_CPU_FINALIZE_INIT
select ARCH_HAS_DMA_MARK_CLEAN
select ARCH_HAS_STRNCPY_FROM_USER
select ARCH_HAS_STRNLEN_USER
Expand Down
20 changes: 0 additions & 20 deletions arch/ia64/include/asm/bugs.h

This file was deleted.

3 changes: 1 addition & 2 deletions arch/ia64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,8 +1067,7 @@ cpu_init (void)
}
}

void __init
check_bugs (void)
void __init arch_cpu_finalize_init(void)
{
ia64_patch_mckinley_e9((unsigned long) __start___mckinley_e9_bundles,
(unsigned long) __end___mckinley_e9_bundles);
Expand Down

0 comments on commit 6c38e30

Please sign in to comment.