qcacmn: Add additional check for qdf_walt_get_cpus_taken
Current if CONFIG_SCHED_WALT is disabled in kernel it is resulting in compilation error. So to fix the issue move the API under CONFIG_SCHED_WALT. Change-Id: Ia720b3d707e0119e90c1cce8bf99590525a7f5ba CRs-Fixed: 3599900
This commit is contained in:

zatwierdzone przez
Rahul Choudhary

rodzic
34f331aae6
commit
16ff49ada0
@@ -273,7 +273,7 @@ qdf_cpumask_equal(const qdf_cpu_mask *src1p, const qdf_cpu_mask *src2p);
|
||||
void
|
||||
qdf_cpumask_complement(qdf_cpu_mask *dstp, const qdf_cpu_mask *srcp);
|
||||
|
||||
#ifdef WALT_GET_CPU_TAKEN_SUPPORT
|
||||
#if defined(WALT_GET_CPU_TAKEN_SUPPORT) && IS_ENABLED(CONFIG_SCHED_WALT)
|
||||
/**
|
||||
* qdf_walt_get_cpus_taken - Get taken CPUs
|
||||
*
|
||||
|
Reference in New Issue
Block a user