ofw_cpu_early_foreach: Change callback to return bool instead of boolean_t.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D39926
This commit is contained in:
John Baldwin
2023-05-04 12:33:39 -07:00
parent 2fd903276d
commit afdb42987c
9 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -80,9 +80,9 @@ extern void mpentry(void);
static int platform_mp_get_core_cnt(void);
static int alpine_get_cpu_resume_base(u_long *pbase, u_long *psize);
static int alpine_get_nb_base(u_long *pbase, u_long *psize);
static boolean_t alpine_validate_cpu(u_int, phandle_t, u_int, pcell_t *);
static bool alpine_validate_cpu(u_int, phandle_t, u_int, pcell_t *);
static boolean_t
static bool
alpine_validate_cpu(u_int id, phandle_t child, u_int addr_cell, pcell_t *reg)
{
return ofw_bus_node_is_compatible(child, "arm,cortex-a15");
+1 -1
View File
@@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$");
static int running_cpus;
static boolean_t
static bool
virt_start_ap(u_int id, phandle_t node, u_int addr_cells, pcell_t *reg)
{
int err;
+1 -1
View File
@@ -75,7 +75,7 @@ ipq4018_mp_setmaxid(platform_t plat)
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)
{
+1 -1
View File
@@ -30,6 +30,6 @@
#ifndef __QCOM_CPU_KPSSV2_H__
#define __QCOM_CPU_KPSSV2_H__
extern boolean_t qcom_cpu_kpssv2_regulator_start(u_int id, phandle_t node);
extern bool qcom_cpu_kpssv2_regulator_start(u_int id, phandle_t node);
#endif /* __QCOM_CPU_KPSSV2_H__ */
+1 -1
View File
@@ -119,7 +119,7 @@ rk32xx_mp_start_pmu(uint32_t mask)
bus_space_unmap(fdtbus_bs_tag, pmu, PMU_SIZE);
}
static boolean_t
static bool
rk32xx_start_ap(u_int id, phandle_t node, u_int addr_cells, pcell_t *reg)
{
int rv;