Lines Matching full:cpuid

68 /* Set to a secondary's cpuid when it comes online.  */
80 smp_store_cpu_info(int cpuid) in smp_store_cpu_info() argument
82 cpu_data[cpuid].loops_per_jiffy = loops_per_jiffy; in smp_store_cpu_info()
83 cpu_data[cpuid].last_asn = ASN_FIRST_VERSION; in smp_store_cpu_info()
84 cpu_data[cpuid].need_new_asn = 0; in smp_store_cpu_info()
85 cpu_data[cpuid].asn_lock = 0; in smp_store_cpu_info()
92 smp_setup_percpu_timer(int cpuid) in smp_setup_percpu_timer() argument
94 cpu_data[cpuid].prof_counter = 1; in smp_setup_percpu_timer()
95 cpu_data[cpuid].prof_multiplier = 1; in smp_setup_percpu_timer()
99 wait_boot_cpu_to_stop(int cpuid) in wait_boot_cpu_to_stop() argument
109 printk("wait_boot_cpu_to_stop: FAILED on CPU %d, hanging now\n", cpuid); in wait_boot_cpu_to_stop()
120 int cpuid = hard_smp_processor_id(); in smp_callin() local
122 if (cpu_online(cpuid)) { in smp_callin()
123 printk("??, cpu 0x%x already present??\n", cpuid); in smp_callin()
126 set_cpu_online(cpuid, true); in smp_callin()
138 smp_setup_percpu_timer(cpuid); in smp_callin()
150 notify_cpu_starting(cpuid); in smp_callin()
157 wait_boot_cpu_to_stop(cpuid); in smp_callin()
161 smp_store_cpu_info(cpuid); in smp_callin()
167 cpuid, current, current->active_mm)); in smp_callin()
198 send_secondary_console_msg(char *str, int cpuid) in send_secondary_console_msg() argument
208 + cpuid * hwrpb->processor_size); in send_secondary_console_msg()
210 cpumask = (1UL << cpuid); in send_secondary_console_msg()
222 set_bit(cpuid, &hwrpb->rxrdy); in send_secondary_console_msg()
229 printk("Processor %x not ready\n", cpuid); in send_secondary_console_msg()
290 secondary_cpu_start(int cpuid, struct task_struct *idle) in secondary_cpu_start() argument
299 + cpuid * hwrpb->processor_size); in secondary_cpu_start()
321 cpuid, idle->state, ipcb->flags)); in secondary_cpu_start()
339 send_secondary_console_msg("START\r\n", cpuid); in secondary_cpu_start()
349 printk(KERN_ERR "SMP: Processor %d failed to start.\n", cpuid); in secondary_cpu_start()
353 DBGS(("secondary_cpu_start: SUCCESS for CPU %d!!!\n", cpuid)); in secondary_cpu_start()
361 smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu() argument
369 if (secondary_cpu_start(cpuid, idle)) in smp_boot_one_cpu()
388 printk(KERN_ERR "SMP: Processor %d is stuck.\n", cpuid); in smp_boot_one_cpu()