Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/qualcomm/ipq4018_mp.c
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | ipq4018_mp_setmaxid(platform_t plat) | ||||
ncpu = CPUV7_L2CTLR_NPROC(ncpu); | ncpu = CPUV7_L2CTLR_NPROC(ncpu); | ||||
mp_ncpus = ncpu; | mp_ncpus = ncpu; | ||||
mp_maxid = ncpu - 1; | mp_maxid = ncpu - 1; | ||||
printf("SMP: ncpu=%d\n", ncpu); | printf("SMP: ncpu=%d\n", ncpu); | ||||
} | } | ||||
static boolean_t | static bool | ||||
ipq4018_start_ap(u_int id, phandle_t node, u_int addr_cells, pcell_t *arg) | ipq4018_start_ap(u_int id, phandle_t node, u_int addr_cells, pcell_t *arg) | ||||
{ | { | ||||
/* | /* | ||||
* For the IPQ401x we assume the enable method is | * For the IPQ401x we assume the enable method is | ||||
* "qcom,kpss-acc-v2". If this path gets turned into | * "qcom,kpss-acc-v2". If this path gets turned into | ||||
* something more generic for other 32 bit qualcomm | * something more generic for other 32 bit qualcomm | ||||
* SoCs then we'll likely want to turn this into a | * SoCs then we'll likely want to turn this into a | ||||
Show All 30 Lines |