arm64: drop redundant macros from read_cpuid()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 16 Dec 2013 21:04:35 +0000 (21:04 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 19 May 2014 18:52:31 +0000 (19:52 +0100)
commit3e7e34ab3d006725aa4b218ad246f39a60b16458
tree2fbeffb10b46f3c92ffca3bba27b5abcfc0ceb55
parentd9105606cab52d214c7670e7d85834c6f699f817
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>
(cherry picked from commit 148eb0a1db8e37a5966afe98223cefe0c1837c26)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/include/asm/cputype.h