arm64: sysreg: fix incorrect definition of SYS_PAR_EL1_F
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 16 Oct 2019 03:42:57 +0000 (11:42 +0800)
committerWill Deacon <will@kernel.org>
Wed, 16 Oct 2019 16:52:28 +0000 (09:52 -0700)
commit29a0f5ad87e6f45c984ffffa57b7142d178ff422
tree9072385d3bee6f7a33d990f3db74c8502849fd11
parent19c95f261c6558d4c2cbbfacd2d8bb6501384601
arm64: sysreg: fix incorrect definition of SYS_PAR_EL1_F

The 'F' field of the PAR_EL1 register lives in bit 0, not bit 1.
Fix the broken definition in 'sysreg.h'.

Fixes: e8620cff9994 ("arm64: sysreg: Add some field definitions for PAR_EL1")
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/sysreg.h