From 9c2ca106c9fecea2f1564ccc276b3db1f2ab25e8 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 27 Aug 2023 10:33:07 +0200 Subject: parisc: iosapic: Convert I/O Sapic driver to use arch_initcall() Signed-off-by: Helge Deller --- arch/parisc/include/asm/processor.h | 1 - arch/parisc/kernel/setup.c | 5 ----- 2 files changed, 6 deletions(-) (limited to 'arch') diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index eb0ecd9b5621..d77c43d32974 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h @@ -314,7 +314,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v); /* driver code in driver/parisc */ extern void processor_init(void); -extern void iosapic_init(void); struct parisc_device; struct resource; extern void sba_distributed_lmmio(struct parisc_device *, struct resource *); diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c index 84a1dce6c757..fc4134be1742 100644 --- a/arch/parisc/kernel/setup.c +++ b/arch/parisc/kernel/setup.c @@ -278,11 +278,6 @@ static int __init parisc_init(void) apply_alternatives_all(); parisc_setup_cache_timing(); - - /* These are in a non-obvious order, will fix when we have an iotree */ -#if defined(CONFIG_IOSAPIC) - iosapic_init(); -#endif return 0; } arch_initcall(parisc_init); -- cgit v1.2.3