arm64: drop redundant macros from read_cpuid()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 16 Dec 2013 21:04:35 +0000 (21:04 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 19 Dec 2013 17:44:07 +0000 (17:44 +0000)
commit148eb0a1db8e37a5966afe98223cefe0c1837c26
tree325d739ace4eb1f7834ec6e1a8b6fbbc67276d9c
parent81cac699440fc3707fd80f16bf34a7e506d41487
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