Juri Lelli eba1c71819 ARM: 8130/1: cpuidle/cpuidle-big_little: fix reading cpu id part number
Commit af040ffc9ba1 ("ARM: make it easier to check the CPU part number
correctly") changed ARM_CPU_PART_X masks, and the way they are returned and
checked against. Usage of read_cpuid_part_number() is now deprecated, and
calling places updated accordingly. This actually broke cpuidle-big_little
initialization, as bl_idle_driver_init() performs a check using an hardcoded
mask on cpu_id.

Create an interface to perform the check (that is now even easier to read).
Define also a proper mask (ARM_CPU_PART_MASK) that makes this kind of checks
cleaner and helps preventing bugs in the future. Update usage accordingly.

Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-08-27 15:40:45 +01:00
..
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2014-06-02 09:20:18 +01:00
2014-02-25 11:33:37 +00:00
2014-06-01 01:17:12 +01:00
2013-11-15 09:32:16 +09:00
2014-05-27 15:58:49 +02:00
2014-06-01 01:17:12 +01:00
2014-04-05 14:19:54 -07:00
2014-02-25 11:33:37 +00:00
2014-08-09 14:07:53 +01:00
2014-03-18 16:39:40 -04:00