path: root/arch/arm64/lib/copy_to_user.S
diff options
authorJames Morse <james.morse@arm.com>2016-02-05 14:58:46 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2016-02-18 11:59:54 +0000
commit0f54b14e76f5302afe164dc911b049b5df836ff5 (patch)
treedbc5dd6384c2e40d6ce01426c67a0c31aec7e9d7 /arch/arm64/lib/copy_to_user.S
parentarm64: use local label prefixes for __reg_num symbols (diff)
arm64: cpufeature: Change read_cpuid() to use sysreg's mrs_s macro
Older assemblers may not have support for newer feature registers. To get round this, sysreg.h provides a 'mrs_s' macro that takes a register encoding and generates the raw instruction. Change read_cpuid() to use mrs_s in all cases so that new registers don't have to be a special case. Including sysreg.h means we need to move the include and definition of read_cpuid() after the #ifndef __ASSEMBLY__ to avoid syntax errors in vmlinux.lds. Signed-off-by: James Morse <james.morse@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions