#include <linux/cpu.h> #include <asm/bugs.h> #include <asm/proc-fns.h> @@ -11,7 +12,7 @@ void check_other_bugs(void) #endif } void __init check_bugs(void) void __init arch_cpu_finalize_init(void) { check_writebuffer_bugs(); check_other_bugs(); 0 comments on commit e2e...
@@ -2362,3 +2366,52 @@ void arch_smt_update(void) /* Check whether IPI broadcasting can be enabled */ apic_smt_update(); } void __init arch_cpu_finalize_init(void) { identify_boot_cpu(); /* * identify_boot_cpu() initialized SMT support information, let the * core code know....
1090 的arch_timer_register 在1138 处使用 cpu hotplug 模块函数,注册 CPUHP_AP_ARM_ARCH_TIMER_STARTING 回调 arch_timer_starting_cpu 和 arch_timer_dying_cpu 10891090staticint__init arch_timer_register(void)1091{1137/*Register and immediately configure the timer on the boot CPU*/1138err =cpuhp_...
[ 0.045000] WARNING: CPU: 0 PID: 1 at arch/x86/events/intel/core.c:4364 intel_pmu_init+0x10ad/0x129f ... ... [ 0.045000] Call Trace: [ 0.045000] ? printk+0x58/0x6f [ 0.045000] ? merge_attr+0x98/0x98 [ 0.045000] init_hw_perf_events+0x4b/0x5de [ 0.045000] ? merge_attr...
This causes build problems for the sparc64 arch: sparc64-linux-ld: init/main.o: in function `start_kernel': main.c:(.init.text+0x77c): undefined reference to `arch_cpu_finalize_init' Fix this up by putting the option in the correct place. Reported-by: Guenter Roeck <linux@roeck-...
void __init arch_cpu_finalize_init(void) { char *p = &init_utsname()->machine[2]; /* "sh" */ select_idle_routine(); current_cpu_data.loops_per_jiffy = loops_per_jiffy; switch (current_cpu_data.family) { case CPU_FAMILY_SH2: *p++ = '2'; break; case CPU_FAMILY_SH2A: *p...
@@ -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); 0 comments on commit 403e4cc Please...
void __init arch_cpu_finalize_init(void) { unsigned int cpu = smp_processor_id(); cpu_data[cpu].udelay_val = loops_per_jiffy; check_bugs32(); if (IS_ENABLED(CONFIG_CPU_R4X00_BUGS64)) check_bugs64(); }0 comments on commit 7f066a2 Please sign in to comment. Footer...
#include <linux/cpu.h> #include <asm/bugs.h> #include <asm/proc-fns.h> @@ -11,7 +12,7 @@ void check_other_bugs(void) #endif } void __init check_bugs(void) void __init arch_cpu_finalize_init(void) { check_writebuffer_bugs(); check_other_bugs(); 0 comments on commit ee...
3 changes: 1 addition & 2 deletions 3 arch/ia64/kernel/setup.c Original file line numberDiff line numberDiff line change @@ -1067,8 +1067,7 @@ cpu_init (void) } } void __init check_bugs (void) void __init arch_cpu_finalize_init(void) { ia64_patch_mckinley_e9((unsigned lon...