diff options
| author | Christoffer Dall <christoffer.dall@arm.com> | 2018-11-29 14:20:01 +0300 |
|---|---|---|
| committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-12-19 20:47:07 +0300 |
| commit | da6f16662a6eba3de0d1a39f3b8913d38754bb2b (patch) | |
| tree | 50290aebc5fd35113610645be20b09256f724b95 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 6e14ef1d12dc26ab4f6bef9d47e6906002f0a1ba (diff) | |
| download | linux-da6f16662a6eba3de0d1a39f3b8913d38754bb2b.tar.xz | |
KVM: arm64: Make vcpu const in vcpu_read_sys_reg
vcpu_read_sys_reg should not be modifying the VCPU structure.
Eventually, to handle EL2 sysregs for nested virtualization, we will
call vcpu_read_sys_reg from places that have a const vcpu pointer, which
will complain about the lack of the const modifier on the read path.
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
