mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
Revert "FROMGIT: KVM: arm64: Constify kvm_io_gic_ops"
This reverts commit 8aefe3af04.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: If8629e1aef52d058b2e9047bcd37fb550e3beeae
This commit is contained in:
@@ -1065,7 +1065,7 @@ static int dispatch_mmio_write(struct kvm_vcpu *vcpu, struct kvm_io_device *dev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
const struct kvm_io_device_ops kvm_io_gic_ops = {
|
||||
struct kvm_io_device_ops kvm_io_gic_ops = {
|
||||
.read = dispatch_mmio_read,
|
||||
.write = dispatch_mmio_write,
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@ struct vgic_register_region {
|
||||
};
|
||||
};
|
||||
|
||||
extern const struct kvm_io_device_ops kvm_io_gic_ops;
|
||||
extern struct kvm_io_device_ops kvm_io_gic_ops;
|
||||
|
||||
#define VGIC_ACCESS_8bit 1
|
||||
#define VGIC_ACCESS_32bit 2
|
||||
|
||||
Reference in New Issue
Block a user