summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/pcf8591
diff options
context:
space:
mode:
authorMason <slash.tmp@free.fr>2015-03-17 20:37:25 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-03-18 10:14:37 (GMT)
commit526299ce4eab2e35ba733b03771d112147676b12 (patch)
treea69fc50236cc86fd7650ad72e402b6ddd40a3a0f /Documentation/hwmon/pcf8591
parentf2ca09f381a59e1eddb89aa70207740c2ee0fe94 (diff)
downloadlinux-526299ce4eab2e35ba733b03771d112147676b12.tar.xz
ARM: 8313/1: Use read_cpuid_ext() macro instead of inline asm
Replace inline asm statement in __get_cpu_architecture() with equivalent macro invocation, i.e. read_cpuid_ext(CPUID_EXT_MMFR0); As an added bonus, this squashes a potential bug, described by Paul Walmsley in commit 067e710b9a98 ("ARM: 7801/1: prevent gcc 4.5 from reordering extended CP15 reads above is_smp() test"). Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation/hwmon/pcf8591')
0 files changed, 0 insertions, 0 deletions