]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: scu: mask cluster id from cpu_logical_map
authorRob Herring <rob.herring@calxeda.com>
Thu, 31 Jan 2013 19:26:29 +0000 (13:26 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 31 Jan 2013 19:54:16 +0000 (13:54 -0600)
commitc7d5b93e9834f0e6cf21828a6fbf45ac440cf364
treef91200d933288e73c7b1b9a04962880a02563235
parenteed8812387e201e158059fe6fb908f8a662084dd
ARM: scu: mask cluster id from cpu_logical_map

With commit a0ae0240 (ARM: kernel: add device tree init map function),
the cpu id value may include the cluster id and is no longer 0-3, so we
need to mask it in scu_power_mode to get the local cpu number. Since we
are only dealing with the cpu we are running on, the cluster id should
not ever be needed.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/kernel/smp_scu.c