Searched refs:cpu_index (Results 1 – 3 of 3) sorted by relevance
758 static int cpu_index = 0; in iosapic_fixup_pci_interrupt() local760 dest = cpu_physical_id(cpu_index) & 0xffff; in iosapic_fixup_pci_interrupt()762 cpu_index++; in iosapic_fixup_pci_interrupt()763 if (cpu_index >= smp_num_cpus) in iosapic_fixup_pci_interrupt()764 cpu_index = 0; in iosapic_fixup_pci_interrupt()
1130 unsigned int cpu_index; in show_cpuinfo() local1136 cpu_index = (unsigned) (cpu->type - 1); in show_cpuinfo()1138 if (cpu_index < N(cpu_names)) in show_cpuinfo()1139 cpu_name = cpu_names[cpu_index]; in show_cpuinfo()
2114 static int cpu_index = 0; in acpi_processor_get_info() local2129 if ((cpu_index + 1) > smp_num_cpus) in acpi_processor_get_info()2164 pr->id = cpu_index++; in acpi_processor_get_info()