We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01eb454 commit 44ade50Copy full SHA for 44ade50
arch/sparc/Kconfig
@@ -52,6 +52,7 @@ config SPARC
52
config SPARC32
53
def_bool !64BIT
54
select ARCH_32BIT_OFF_T
55
+ select ARCH_HAS_CPU_FINALIZE_INIT if !SMP
56
select ARCH_HAS_SYNC_DMA_FOR_CPU
57
select CLZ_TAB
58
select DMA_DIRECT_REMAP
arch/sparc/include/asm/bugs.h
arch/sparc/kernel/setup_32.c
@@ -412,3 +412,10 @@ static int __init topology_init(void)
412
}
413
414
subsys_initcall(topology_init);
415
+
416
+#if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
417
+void __init arch_cpu_finalize_init(void)
418
+{
419
+ cpu_data(0).udelay_val = loops_per_jiffy;
420
+}
421
+#endif
0 commit comments