Tegra194: convert 'target_cpu' and 'target_cluster' to 32-bits
This patch converts the 'target_cpu' and 'target_cluster' variables from the tegra_soc_pwr_domain_on() handler to 32-bits. This fixes the signed comparison warning flagged by the compiler. Change-Id: Idfd7ad2a62749bb0dd032eb9eb5f4b28df32bba0 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
This commit is contained in:
parent
719fdb6efc
commit
cff9b9c293
|
@ -250,8 +250,8 @@ int tegra_soc_pwr_domain_power_down_wfi(const psci_power_state_t *target_state)
|
|||
|
||||
int tegra_soc_pwr_domain_on(u_register_t mpidr)
|
||||
{
|
||||
int target_cpu = mpidr & MPIDR_CPU_MASK;
|
||||
int target_cluster = (mpidr & MPIDR_CLUSTER_MASK) >>
|
||||
uint32_t target_cpu = mpidr & MPIDR_CPU_MASK;
|
||||
uint32_t target_cluster = (mpidr & MPIDR_CLUSTER_MASK) >>
|
||||
MPIDR_AFFINITY_BITS;
|
||||
|
||||
if (target_cluster > MPIDR_AFFLVL1) {
|
||||
|
|
Loading…
Reference in New Issue