]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: make is_permission_fault() name clearer
authorMark Rutland <mark.rutland@arm.com>
Mon, 21 May 2018 13:14:50 +0000 (14:14 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 23 May 2018 10:46:07 +0000 (11:46 +0100)
commit06d348cbee3234b9b4a81b7ecdb1e888a777d2bf
tree8c8085af97a5a2001deba2e317c4c1782fce1bbf
parentd90a31647ed53e91e8a228be0ae164ca07c7c4fc
arm64: make is_permission_fault() name clearer

The naming of is_permission_fault() makes it sound like it should return
true for permission faults from EL0, but by design, it only does so for
faults from EL1.

Let's make this clear by dropping el1 in the name, as we do for
is_el1_instruction_abort().

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/fault.c