From: Mason Date: Tue, 17 Mar 2015 20:37:25 +0000 (+0100) Subject: ARM: 8313/1: Use read_cpuid_ext() macro instead of inline asm X-Git-Tag: omap-for-v4.1/fixes-rc1~297^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526299ce4eab2e35ba733b03771d112147676b12;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed