ARM: highbank: mask cluster id from cpu_logical_map
authorRob Herring <rob.herring@calxeda.com>
Thu, 31 Jan 2013 19:28:42 +0000 (13:28 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 31 Jan 2013 19:54:30 +0000 (13:54 -0600)
commit63fc1370c19052fa5bec9593557431efc7ecc9fe
tree9ca7a80d3ae04ae9d0c4f166eb15d57eb6f4d268
parentc7d5b93e9834f0e6cf21828a6fbf45ac440cf364
ARM: highbank: 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 now to get the right hard cpu index.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/mach-highbank/highbank.c
arch/arm/mach-highbank/sysregs.h