ARM: Fix cpu_info for armv8
We have get_cr() to get the control register for the different exception
levels. Use it rather than the variant hardcoded for EL1.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3a3f263 commit b88872fd25c70dbf0c9ed87183c679a4651912ae
@Sascha Hauer Sascha Hauer authored on 28 Feb 2019
Showing 1 changed file
View
arch/arm/cpu/cpuinfo.c