File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -5884,8 +5884,7 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
5884
5884
r = - EINVAL ;
5885
5885
if (!lapic_in_kernel (vcpu ))
5886
5886
goto out ;
5887
- u .lapic = kzalloc (sizeof (struct kvm_lapic_state ),
5888
- GFP_KERNEL_ACCOUNT );
5887
+ u .lapic = kzalloc (sizeof (struct kvm_lapic_state ), GFP_KERNEL );
5889
5888
5890
5889
r = - ENOMEM ;
5891
5890
if (!u .lapic )
@@ -6078,7 +6077,7 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
6078
6077
if (vcpu -> arch .guest_fpu .uabi_size > sizeof (struct kvm_xsave ))
6079
6078
break ;
6080
6079
6081
- u .xsave = kzalloc (sizeof (struct kvm_xsave ), GFP_KERNEL_ACCOUNT );
6080
+ u .xsave = kzalloc (sizeof (struct kvm_xsave ), GFP_KERNEL );
6082
6081
r = - ENOMEM ;
6083
6082
if (!u .xsave )
6084
6083
break ;
@@ -6109,7 +6108,7 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
6109
6108
case KVM_GET_XSAVE2 : {
6110
6109
int size = vcpu -> arch .guest_fpu .uabi_size ;
6111
6110
6112
- u .xsave = kzalloc (size , GFP_KERNEL_ACCOUNT );
6111
+ u .xsave = kzalloc (size , GFP_KERNEL );
6113
6112
r = - ENOMEM ;
6114
6113
if (!u .xsave )
6115
6114
break ;
@@ -6127,7 +6126,7 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
6127
6126
}
6128
6127
6129
6128
case KVM_GET_XCRS : {
6130
- u .xcrs = kzalloc (sizeof (struct kvm_xcrs ), GFP_KERNEL_ACCOUNT );
6129
+ u .xcrs = kzalloc (sizeof (struct kvm_xcrs ), GFP_KERNEL );
6131
6130
r = - ENOMEM ;
6132
6131
if (!u .xcrs )
6133
6132
break ;
You can’t perform that action at this time.
0 commit comments