Searched refs:cpunum (Results 1 – 2 of 2) sorted by relevance
529 static int intel_pstate_init_cpu(unsigned int cpunum) in intel_pstate_init_cpu() argument539 all_cpu_data[cpunum] = kzalloc(sizeof(struct cpudata), GFP_KERNEL); in intel_pstate_init_cpu()540 if (!all_cpu_data[cpunum]) in intel_pstate_init_cpu()543 cpu = all_cpu_data[cpunum]; in intel_pstate_init_cpu()547 cpu->cpu = cpunum; in intel_pstate_init_cpu()559 add_timer_on(&cpu->timer, cpunum); in intel_pstate_init_cpu()561 pr_info("Intel pstate controlling: cpu %d\n", cpunum); in intel_pstate_init_cpu()
142 int cpunum; in show_crash_notes() local144 cpunum = cpu->dev.id; in show_crash_notes()152 addr = per_cpu_ptr_to_phys(per_cpu_ptr(crash_notes, cpunum)); in show_crash_notes()