arm64: drop redundant macros from read_cpuid()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 16 Dec 2013 21:04:35 +0000 (21:04 +0000)
committerJP Abgrall <jpa@google.com>
Wed, 17 Sep 2014 23:14:12 +0000 (16:14 -0700)
commiteaa22ea13d0f07969465cb7c05d74271368d4c12
tree2f76293026d483056d0faacc9f4ac83d3bb8edde
parent39fdc30ff59d36904e8f25361b07d6c88e04b078
arm64: drop redundant macros from read_cpuid()

asm/cputype.h contains a bunch of #defines for CPU id registers
that essentially map to themselves. Remove the #defines and pass
the tokens directly to the inline asm() that reads the registers.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cputype.h