]> git.hungrycats.org Git - linux/commit
ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 10 Jul 2015 17:36:11 +0000 (18:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 17:10:58 +0000 (10:10 -0700)
commit72b6a4c39899ef4e15826b791d571a4611edc935
tree102ba19a12ae4efd4704300685b0be92fd0c3539
parentf41846b6ab0954079d9e656a1b69ac2d5c5cc69b
ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary

commit a6b4b25bd15c0a490769422a7eee355e9e91a57b upstream.

of_get_cpu_node provides the device node associated with the given
logical CPU and cpu_logical_map contains the physical id for each CPU
in the logical ordering. Passing cpu_logical_map(cpu) to of_get_cpu_node
is incorrect.

This patch fixes the issue by passing the logical CPU number to
of_get_cpu_node

Fixes: ed5cd8163da8 ("ARM: BCM63xx: Add SMP support for BCM63138")
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: bcm-kernel-feedback-list@broadcom.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-bcm/bcm63xx_smp.c