mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
lpm-levels: Fix per_cpu declaration of pending_ipi
Switch an accidental use of DEFINE_PER_CPU when the developer clearly wanted to use DECLARE_PER_CPU. CONFIG_DEBUG_FORCE_WEAK_CPU enforces that each per-cpu object in the kernel have a unique name so if one accidently uses DEFINE_PER_CPU_READ_MOSTLY in a header it would define the same symbol in each file that used the header. Fixes: 0aaf4cf7415a ("drivers: soc: qcom: snapshot of idle/sleep driver as of msm-4.14") Change-Id: Ic0dedbadbce4e85f2130ea59c84d1e10767d50d7 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
606fe6c46b
commit
a0b1a8af4d
@ -100,7 +100,7 @@ uint32_t *get_per_cpu_max_residency(int cpu);
|
||||
extern struct lpm_cluster *lpm_root_node;
|
||||
|
||||
#if defined(CONFIG_SMP)
|
||||
extern DEFINE_PER_CPU(bool, pending_ipi);
|
||||
DECLARE_PER_CPU(bool, pending_ipi);
|
||||
static inline bool is_IPI_pending(const struct cpumask *mask)
|
||||
{
|
||||
unsigned int cpu;
|
||||
|
Loading…
x
Reference in New Issue
Block a user