/linux-3.4.99/drivers/lguest/ |
D | hypercalls.c | 37 static void do_hcall(struct lg_cpu *cpu, struct hcall_args *args) in do_hcall() argument 57 kill_guest(cpu, "already have lguest_data"); in do_hcall() 68 __lgread(cpu, msg, args->arg1, sizeof(msg)); in do_hcall() 70 kill_guest(cpu, "CRASH: %s", msg); in do_hcall() 72 cpu->lg->dead = ERR_PTR(-ERESTART); in do_hcall() 78 guest_pagetable_clear_all(cpu); in do_hcall() 80 guest_pagetable_flush_user(cpu); in do_hcall() 88 guest_new_pagetable(cpu, args->arg1); in do_hcall() 91 guest_set_stack(cpu, args->arg1, args->arg2, args->arg3); in do_hcall() 95 guest_set_pte(cpu, args->arg1, args->arg2, in do_hcall() [all …]
|
D | interrupts_and_traps.c | 51 static void push_guest_stack(struct lg_cpu *cpu, unsigned long *gstack, u32 val) in push_guest_stack() argument 55 lgwrite(cpu, *gstack, u32, val); in push_guest_stack() 72 static void set_guest_interrupt(struct lg_cpu *cpu, u32 lo, u32 hi, in set_guest_interrupt() argument 84 if ((cpu->regs->ss&0x3) != GUEST_PL) { in set_guest_interrupt() 89 virtstack = cpu->esp1; in set_guest_interrupt() 90 ss = cpu->ss1; in set_guest_interrupt() 92 origstack = gstack = guest_pa(cpu, virtstack); in set_guest_interrupt() 99 push_guest_stack(cpu, &gstack, cpu->regs->ss); in set_guest_interrupt() 100 push_guest_stack(cpu, &gstack, cpu->regs->esp); in set_guest_interrupt() 103 virtstack = cpu->regs->esp; in set_guest_interrupt() [all …]
|
D | page_tables.c | 79 #define switcher_pte_page(cpu) per_cpu(switcher_pte_pages, cpu) argument 94 static pgd_t *spgd_addr(struct lg_cpu *cpu, u32 i, unsigned long vaddr) in spgd_addr() argument 101 kill_guest(cpu, "attempt to access switcher pages"); in spgd_addr() 106 return &cpu->lg->pgdirs[i].pgdir[index]; in spgd_addr() 115 static pmd_t *spmd_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) in spmd_addr() argument 123 kill_guest(cpu, "attempt to access switcher pages"); in spmd_addr() 140 static pte_t *spte_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) in spte_addr() argument 143 pmd_t *pmd = spmd_addr(cpu, spgd, vaddr); in spte_addr() 161 static unsigned long gpgd_addr(struct lg_cpu *cpu, unsigned long vaddr) in gpgd_addr() argument 164 return cpu->lg->pgdirs[cpu->cpu_pgd].gpgdir + index * sizeof(pgd_t); in gpgd_addr() [all …]
|
D | lg.h | 135 #define lgread(cpu, addr, type) \ argument 136 ({ type _v; __lgread((cpu), &_v, (addr), sizeof(_v)); _v; }) 139 #define lgwrite(cpu, addr, type, val) \ argument 142 __lgwrite((cpu), (addr), &(val), sizeof(val)); \ 146 int run_guest(struct lg_cpu *cpu, unsigned long __user *user); 159 unsigned int interrupt_pending(struct lg_cpu *cpu, bool *more); 160 void try_deliver_interrupt(struct lg_cpu *cpu, unsigned int irq, bool more); 161 void set_interrupt(struct lg_cpu *cpu, unsigned int irq); 162 bool deliver_trap(struct lg_cpu *cpu, unsigned int num); 163 void load_guest_idt_entry(struct lg_cpu *cpu, unsigned int i, [all …]
|
/linux-3.4.99/drivers/lguest/x86/ |
D | core.c | 66 static struct lguest_pages *lguest_pages(unsigned int cpu) in lguest_pages() argument 69 (SWITCHER_ADDR + SHARED_SWITCHER_PAGES*PAGE_SIZE))[cpu]); in lguest_pages() 85 static void copy_in_guest_info(struct lg_cpu *cpu, struct lguest_pages *pages) in copy_in_guest_info() argument 93 if (__this_cpu_read(lg_last_cpu) != cpu || cpu->last_pages != pages) { in copy_in_guest_info() 94 __this_cpu_write(lg_last_cpu, cpu); in copy_in_guest_info() 95 cpu->last_pages = pages; in copy_in_guest_info() 96 cpu->changed = CHANGED_ALL; in copy_in_guest_info() 108 map_switcher_in_guest(cpu, pages); in copy_in_guest_info() 114 pages->state.guest_tss.sp1 = cpu->esp1; in copy_in_guest_info() 115 pages->state.guest_tss.ss1 = cpu->ss1; in copy_in_guest_info() [all …]
|
/linux-3.4.99/arch/x86/xen/ |
D | smp.c | 62 int cpu; in cpu_bringup() local 71 cpu = smp_processor_id(); in cpu_bringup() 72 smp_store_cpu_info(cpu); in cpu_bringup() 73 cpu_data(cpu).x86_max_cores = 1; in cpu_bringup() 74 set_cpu_sibling_map(cpu); in cpu_bringup() 78 notify_cpu_starting(cpu); in cpu_bringup() 81 set_cpu_online(cpu, true); in cpu_bringup() 100 static int xen_smp_intr_init(unsigned int cpu) in xen_smp_intr_init() argument 105 resched_name = kasprintf(GFP_KERNEL, "resched%d", cpu); in xen_smp_intr_init() 107 cpu, in xen_smp_intr_init() [all …]
|
/linux-3.4.99/arch/microblaze/kernel/cpu/ |
D | cpuinfo-static.c | 23 void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu) in set_cpuinfo_static() argument 28 (fcpu(cpu, "xlnx,use-barrel") ? PVR0_USE_BARREL_MASK : 0) | in set_cpuinfo_static() 29 (fcpu(cpu, "xlnx,use-msr-instr") ? PVR2_USE_MSR_INSTR : 0) | in set_cpuinfo_static() 30 (fcpu(cpu, "xlnx,use-pcmp-instr") ? PVR2_USE_PCMP_INSTR : 0) | in set_cpuinfo_static() 31 (fcpu(cpu, "xlnx,use-div") ? PVR0_USE_DIV_MASK : 0); in set_cpuinfo_static() 43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul"); in set_cpuinfo_static() 51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu"); in set_cpuinfo_static() 59 (fcpu(cpu, "xlnx,unaligned-exceptions") ? in set_cpuinfo_static() 61 (fcpu(cpu, "xlnx,ill-opcode-exception") ? in set_cpuinfo_static() 63 (fcpu(cpu, "xlnx,iopb-bus-exception") ? in set_cpuinfo_static() [all …]
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | tau_6xx.c | 52 void set_thresholds(unsigned long cpu) in set_thresholds() argument 59 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TIE | THRM1_TID); in set_thresholds() 64 mtspr (SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | THRM1_TIE); in set_thresholds() 67 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | THRM1_TID); in set_thresholds() 68 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V); in set_thresholds() 72 void TAUupdate(int cpu) in TAUupdate() argument 84 if (tau[cpu].low >= step_size){ in TAUupdate() 85 tau[cpu].low -= step_size; in TAUupdate() 86 tau[cpu].high -= (step_size - window_expand); in TAUupdate() 88 tau[cpu].grew = 1; in TAUupdate() [all …]
|
D | smp.c | 206 void smp_muxed_ipi_set_data(int cpu, unsigned long data) in smp_muxed_ipi_set_data() argument 208 struct cpu_messages *info = &per_cpu(ipi_message, cpu); in smp_muxed_ipi_set_data() 213 void smp_muxed_ipi_message_pass(int cpu, int msg) in smp_muxed_ipi_message_pass() argument 215 struct cpu_messages *info = &per_cpu(ipi_message, cpu); in smp_muxed_ipi_message_pass() 227 smp_ops->cause_ipi(cpu, info->data); in smp_muxed_ipi_message_pass() 258 static inline void do_message_pass(int cpu, int msg) in do_message_pass() argument 261 smp_ops->message_pass(cpu, msg); in do_message_pass() 264 smp_muxed_ipi_message_pass(cpu, msg); in do_message_pass() 268 void smp_send_reschedule(int cpu) in smp_send_reschedule() argument 271 do_message_pass(cpu, PPC_MSG_RESCHEDULE); in smp_send_reschedule() [all …]
|
/linux-3.4.99/arch/ia64/xen/ |
D | irq_xen.c | 146 __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, in __xen_register_percpu_irq() argument 154 snprintf(per_cpu(xen_timer_name, cpu), in __xen_register_percpu_irq() 155 sizeof(per_cpu(xen_timer_name, cpu)), in __xen_register_percpu_irq() 156 "%s%d", action->name, cpu); in __xen_register_percpu_irq() 157 irq = bind_virq_to_irqhandler(VIRQ_ITC, cpu, in __xen_register_percpu_irq() 159 per_cpu(xen_timer_name, cpu), action->dev_id); in __xen_register_percpu_irq() 160 per_cpu(xen_timer_irq, cpu) = irq; in __xen_register_percpu_irq() 163 snprintf(per_cpu(xen_resched_name, cpu), in __xen_register_percpu_irq() 164 sizeof(per_cpu(xen_resched_name, cpu)), in __xen_register_percpu_irq() 165 "%s%d", action->name, cpu); in __xen_register_percpu_irq() [all …]
|
/linux-3.4.99/tools/power/cpupower/lib/ |
D | cpufreq.c | 16 int cpufreq_cpu_exists(unsigned int cpu) in cpufreq_cpu_exists() argument 18 return sysfs_cpu_exists(cpu); in cpufreq_cpu_exists() 21 unsigned long cpufreq_get_freq_kernel(unsigned int cpu) in cpufreq_get_freq_kernel() argument 23 return sysfs_get_freq_kernel(cpu); in cpufreq_get_freq_kernel() 26 unsigned long cpufreq_get_freq_hardware(unsigned int cpu) in cpufreq_get_freq_hardware() argument 28 return sysfs_get_freq_hardware(cpu); in cpufreq_get_freq_hardware() 31 unsigned long cpufreq_get_transition_latency(unsigned int cpu) in cpufreq_get_transition_latency() argument 33 return sysfs_get_freq_transition_latency(cpu); in cpufreq_get_transition_latency() 36 int cpufreq_get_hardware_limits(unsigned int cpu, in cpufreq_get_hardware_limits() argument 42 return sysfs_get_freq_hardware_limits(cpu, min, max); in cpufreq_get_hardware_limits() [all …]
|
/linux-3.4.99/arch/blackfin/mm/ |
D | sram-alloc.c | 68 unsigned int cpu; in l1sram_init() local 77 for (cpu = 0; cpu < num_possible_cpus(); ++cpu) { in l1sram_init() 78 per_cpu(free_l1_ssram_head, cpu).next = in l1sram_init() 80 if (!per_cpu(free_l1_ssram_head, cpu).next) { in l1sram_init() 85 per_cpu(free_l1_ssram_head, cpu).next->paddr = (void *)get_l1_scratch_start_cpu(cpu) + reserve; in l1sram_init() 86 per_cpu(free_l1_ssram_head, cpu).next->size = L1_SCRATCH_LENGTH - reserve; in l1sram_init() 87 per_cpu(free_l1_ssram_head, cpu).next->pid = 0; in l1sram_init() 88 per_cpu(free_l1_ssram_head, cpu).next->next = NULL; in l1sram_init() 90 per_cpu(used_l1_ssram_head, cpu).next = NULL; in l1sram_init() 93 spin_lock_init(&per_cpu(l1sram_lock, cpu)); in l1sram_init() [all …]
|
/linux-3.4.99/include/linux/ |
D | cpumask.h | 89 #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask) argument 90 #define cpu_possible(cpu) cpumask_test_cpu((cpu), cpu_possible_mask) argument 91 #define cpu_present(cpu) cpumask_test_cpu((cpu), cpu_present_mask) argument 92 #define cpu_active(cpu) cpumask_test_cpu((cpu), cpu_active_mask) argument 98 #define cpu_online(cpu) ((cpu) == 0) argument 99 #define cpu_possible(cpu) ((cpu) == 0) argument 100 #define cpu_present(cpu) ((cpu) == 0) argument 101 #define cpu_active(cpu) ((cpu) == 0) argument 105 static inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check() argument 108 WARN_ON_ONCE(cpu >= nr_cpumask_bits); in cpumask_check() [all …]
|
/linux-3.4.99/drivers/xen/ |
D | cpu_hotplug.c | 9 static void enable_hotplug_cpu(int cpu) in enable_hotplug_cpu() argument 11 if (!cpu_present(cpu)) in enable_hotplug_cpu() 12 arch_register_cpu(cpu); in enable_hotplug_cpu() 14 set_cpu_present(cpu, true); in enable_hotplug_cpu() 17 static void disable_hotplug_cpu(int cpu) in disable_hotplug_cpu() argument 19 if (cpu_present(cpu)) in disable_hotplug_cpu() 20 arch_unregister_cpu(cpu); in disable_hotplug_cpu() 22 set_cpu_present(cpu, false); in disable_hotplug_cpu() 25 static int vcpu_online(unsigned int cpu) in vcpu_online() argument 30 sprintf(dir, "cpu/%u", cpu); in vcpu_online() [all …]
|
/linux-3.4.99/drivers/cpufreq/ |
D | cpufreq_userspace.c | 47 if (!per_cpu(cpu_is_managed, freq->cpu)) in userspace_cpufreq_notifier() 52 freq->cpu, freq->new); in userspace_cpufreq_notifier() 53 per_cpu(cpu_cur_freq, freq->cpu) = freq->new; in userspace_cpufreq_notifier() 75 pr_debug("cpufreq_set for cpu %u, freq %u kHz\n", policy->cpu, freq); in cpufreq_set() 78 if (!per_cpu(cpu_is_managed, policy->cpu)) in cpufreq_set() 81 per_cpu(cpu_set_freq, policy->cpu) = freq; in cpufreq_set() 83 if (freq < per_cpu(cpu_min_freq, policy->cpu)) in cpufreq_set() 84 freq = per_cpu(cpu_min_freq, policy->cpu); in cpufreq_set() 85 if (freq > per_cpu(cpu_max_freq, policy->cpu)) in cpufreq_set() 86 freq = per_cpu(cpu_max_freq, policy->cpu); in cpufreq_set() [all …]
|
/linux-3.4.99/arch/um/kernel/ |
D | smp.c | 37 void smp_send_reschedule(int cpu) in smp_send_reschedule() argument 39 os_write_file(cpu_data[cpu].ipi_pipe[1], "R", 1); in smp_send_reschedule() 49 if (i == current_thread->cpu) in smp_send_stop() 61 int cpu = (int) cpup, err; in idle_proc() local 63 err = os_pipe(cpu_data[cpu].ipi_pipe, 1, 1); in idle_proc() 65 panic("CPU#%d failed to create IPI pipe, err = %d", cpu, -err); in idle_proc() 67 os_set_fd_async(cpu_data[cpu].ipi_pipe[0]); in idle_proc() 70 if (cpu_test_and_set(cpu, cpu_callin_map)) { in idle_proc() 71 printk(KERN_ERR "huh, CPU#%d already present??\n", cpu); in idle_proc() 75 while (!cpu_isset(cpu, smp_commenced_mask)) in idle_proc() [all …]
|
/linux-3.4.99/arch/arm/kernel/ |
D | smp.c | 63 int __cpuinit __cpu_up(unsigned int cpu) in __cpu_up() argument 65 struct cpuinfo_arm *ci = &per_cpu(cpu_data, cpu); in __cpu_up() 74 idle = fork_idle(cpu); in __cpu_up() 76 printk(KERN_ERR "CPU%u: fork() failed\n", cpu); in __cpu_up() 85 init_idle(idle, cpu); in __cpu_up() 101 ret = boot_secondary(cpu, idle); in __cpu_up() 110 if (!cpu_online(cpu)) { in __cpu_up() 111 pr_crit("CPU%u: failed to come online\n", cpu); in __cpu_up() 115 pr_err("CPU%u: failed to boot: %d\n", cpu, ret); in __cpu_up() 132 unsigned int cpu = smp_processor_id(); in __cpu_disable() local [all …]
|
/linux-3.4.99/arch/x86/kernel/ |
D | setup_percpu.c | 69 unsigned int cpu; in pcpu_need_numa() local 71 for_each_possible_cpu(cpu) { in pcpu_need_numa() 72 int node = early_cpu_to_node(cpu); in pcpu_need_numa() 98 static void * __init pcpu_alloc_bootmem(unsigned int cpu, unsigned long size, in pcpu_alloc_bootmem() argument 103 int node = early_cpu_to_node(cpu); in pcpu_alloc_bootmem() 109 cpu, node); in pcpu_alloc_bootmem() 111 cpu, size, __pa(ptr)); in pcpu_alloc_bootmem() 116 cpu, size, node, __pa(ptr)); in pcpu_alloc_bootmem() 127 static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size, size_t align) in pcpu_fc_alloc() argument 129 return pcpu_alloc_bootmem(cpu, size, align); in pcpu_fc_alloc() [all …]
|
/linux-3.4.99/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 57 unsigned int cpu, nr_cpus; in proc_cpufreq_output() local 66 for (cpu = 0; cpu < nr_cpus; cpu++) { in proc_cpufreq_output() 67 policy = cpufreq_get_policy(cpu); in proc_cpufreq_output() 71 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in proc_cpufreq_output() 78 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 141 static int get_boost_mode(unsigned int cpu) in get_boost_mode() argument 151 ret = cpufreq_has_boost_support(cpu, &support, &active, &b_states); in get_boost_mode() 154 " on CPU %d -- are you root?\n"), cpu); in get_boost_mode() 170 ret = decode_pstates(cpu, cpupower_cpu_info.family, b_states, in get_boost_mode() 195 intel_turbo_ratio = msr_intel_get_turbo_ratio(cpu); in get_boost_mode() [all …]
|
/linux-3.4.99/arch/s390/oprofile/ |
D | hwsampler.c | 121 static int smp_ctl_ssctl_stop(int cpu) in smp_ctl_ssctl_stop() argument 127 cb = &per_cpu(sampler_cpu_buffer, cpu); in smp_ctl_ssctl_stop() 133 smp_call_function_single(cpu, execute_ssctl, &ep, 1); in smp_ctl_ssctl_stop() 136 printk(KERN_ERR "hwsampler: CPU %d CPUMF SSCTL failed.\n", cpu); in smp_ctl_ssctl_stop() 141 smp_call_function_single(cpu, execute_qsi, &ep, 1); in smp_ctl_ssctl_stop() 151 static int smp_ctl_ssctl_deactivate(int cpu) in smp_ctl_ssctl_deactivate() argument 157 cb = &per_cpu(sampler_cpu_buffer, cpu); in smp_ctl_ssctl_deactivate() 163 smp_call_function_single(cpu, execute_ssctl, &ep, 1); in smp_ctl_ssctl_deactivate() 166 printk(KERN_ERR "hwsampler: CPU %d CPUMF SSCTL failed.\n", cpu); in smp_ctl_ssctl_deactivate() 169 smp_call_function_single(cpu, execute_qsi, &ep, 1); in smp_ctl_ssctl_deactivate() [all …]
|
/linux-3.4.99/kernel/trace/ |
D | trace_workqueue.c | 22 int cpu; member 43 #define workqueue_cpu_stat(cpu) (&per_cpu(all_workqueue_stat, cpu)) argument 56 int cpu = cpumask_first(&wq_thread->cpus_allowed); in probe_workqueue_insertion() local 60 spin_lock_irqsave(&workqueue_cpu_stat(cpu)->lock, flags); in probe_workqueue_insertion() 61 list_for_each_entry(node, &workqueue_cpu_stat(cpu)->list, list) { in probe_workqueue_insertion() 69 spin_unlock_irqrestore(&workqueue_cpu_stat(cpu)->lock, flags); in probe_workqueue_insertion() 78 int cpu = cpumask_first(&wq_thread->cpus_allowed); in probe_workqueue_execution() local 82 spin_lock_irqsave(&workqueue_cpu_stat(cpu)->lock, flags); in probe_workqueue_execution() 83 list_for_each_entry(node, &workqueue_cpu_stat(cpu)->list, list) { in probe_workqueue_execution() 91 spin_unlock_irqrestore(&workqueue_cpu_stat(cpu)->lock, flags); in probe_workqueue_execution() [all …]
|
/linux-3.4.99/arch/ia64/kernel/ |
D | err_inject.c | 61 u32 cpu=dev->id; \ 62 return sprintf(buf, "%lx\n", name[cpu]); \ 70 unsigned int cpu=dev->id; \ 71 name[cpu] = simple_strtoull(buf, NULL, 16); \ 84 unsigned int cpu=dev->id; in show() local 88 printk(KERN_DEBUG "pal_mc_err_inject for cpu%d:\n", cpu); in show() 89 printk(KERN_DEBUG "err_type_info=%lx,\n", err_type_info[cpu]); in show() 90 printk(KERN_DEBUG "err_struct_info=%lx,\n", err_struct_info[cpu]); in show() 92 err_data_buffer[cpu].data1, in show() 93 err_data_buffer[cpu].data2, in show() [all …]
|
D | smpboot.c | 487 int cpu; member 496 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle() 501 do_boot_cpu (int sapicid, int cpu) in do_boot_cpu() argument 506 .cpu = cpu, in do_boot_cpu() 514 c_idle.idle = get_idle_for_cpu(cpu); in do_boot_cpu() 516 init_idle(c_idle.idle, cpu); in do_boot_cpu() 524 panic("failed fork for CPU %d", cpu); in do_boot_cpu() 526 set_idle_for_cpu(cpu, c_idle.idle); in do_boot_cpu() 531 Dprintk("Sending wakeup vector %lu to AP 0x%x/0x%x.\n", ap_wakeup_vector, cpu, sapicid); in do_boot_cpu() 533 set_brendez_area(cpu); in do_boot_cpu() [all …]
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | smp.h | 40 void (*message_pass)(int cpu, int msg); 42 void (*cause_ipi)(int cpu, unsigned long data); 65 void generic_cpu_die(unsigned int cpu); 67 void generic_set_cpu_dead(unsigned int cpu); 68 int generic_check_cpu_restart(unsigned int cpu); 78 #define raw_smp_processor_id() (current_thread_info()->cpu) 81 static inline int get_hard_smp_processor_id(int cpu) in get_hard_smp_processor_id() argument 83 return smp_hw_index[cpu]; in get_hard_smp_processor_id() 86 static inline void set_hard_smp_processor_id(int cpu, int phys) in set_hard_smp_processor_id() argument 88 smp_hw_index[cpu] = phys; in set_hard_smp_processor_id() [all …]
|
/linux-3.4.99/arch/sh/kernel/ |
D | smp.c | 48 static inline void __cpuinit smp_store_cpu_info(unsigned int cpu) in smp_store_cpu_info() argument 50 struct sh_cpuinfo *c = cpu_data + cpu; in smp_store_cpu_info() 59 unsigned int cpu = smp_processor_id(); in smp_prepare_cpus() local 62 current_thread_info()->cpu = cpu; in smp_prepare_cpus() 72 unsigned int cpu = smp_processor_id(); in smp_prepare_boot_cpu() local 74 __cpu_number_map[0] = cpu; in smp_prepare_boot_cpu() 75 __cpu_logical_map[0] = cpu; in smp_prepare_boot_cpu() 77 set_cpu_online(cpu, true); in smp_prepare_boot_cpu() 78 set_cpu_possible(cpu, true); in smp_prepare_boot_cpu() 80 per_cpu(cpu_state, cpu) = CPU_ONLINE; in smp_prepare_boot_cpu() [all …]
|