Lines Matching defs:cores
740 /* WARNING: The offset of the "number of cores" field below
745 W(NR_CPUS), /* number of cores supported */
885 u32 *cores;
889 /* We need to tell the FW about the number of cores we support.
892 * (we assume this is the same for all cores) and use it to
895 cores = (u32 *)PTRRELOC(&ibm_architecture_vec[IBM_ARCH_VEC_NRCORES_OFFSET]);
896 if (*cores != NR_CPUS) {
899 *cores);
901 *cores = DIV_ROUND_UP(NR_CPUS, prom_count_smt_threads());
902 prom_printf("Max number of cores passed to firmware: %lu (NR_CPUS = %lu)\n",
903 *cores, NR_CPUS);