mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
KVM: SVM: remove dead field from struct svm_cpu_data
The "cpu" field of struct svm_cpu_data has been write-only since commit
4b656b1202 ("KVM: SVM: force new asid on vcpu migration", 2009-08-05).
Remove it.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0014597871
commit
181d0fb0bb
|
|
@ -665,7 +665,6 @@ static int svm_cpu_init(int cpu)
|
|||
sd = kzalloc(sizeof(struct svm_cpu_data), GFP_KERNEL);
|
||||
if (!sd)
|
||||
return ret;
|
||||
sd->cpu = cpu;
|
||||
sd->save_area = alloc_page(GFP_KERNEL | __GFP_ZERO);
|
||||
if (!sd->save_area)
|
||||
goto free_cpu_data;
|
||||
|
|
|
|||
|
|
@ -280,8 +280,6 @@ struct vcpu_svm {
|
|||
};
|
||||
|
||||
struct svm_cpu_data {
|
||||
int cpu;
|
||||
|
||||
u64 asid_generation;
|
||||
u32 max_asid;
|
||||
u32 next_asid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user