diff options
author | Marc Zyngier <maz@kernel.org> | 2023-04-21 10:18:34 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-04-21 10:51:40 +0100 |
commit | 1ea244158a4a20ac686f4d1d46285f3d38d4571f (patch) | |
tree | bdefbb18f6d9114792f6d6599c698070f1a33756 /arch/mips/kvm/mips.c | |
parent | 39bc95be3782ba88e55cd72e830f37e74395831b (diff) |
KVM: arm64: Constify start/end/phys fields of the pgtable walker data
As we are revamping the way the pgtable walker evaluates some of the
data, make it clear that we rely on somew of the fields to be constant
across the lifetime of a walk.
For this, flag the start, end and phys fields of the walk data as
'const', which will generate an error if we were to accidentally
update these fields again.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/mips/kvm/mips.c')
0 files changed, 0 insertions, 0 deletions