lkml.org 
[lkml]   [2021]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [patch 5/6] x86/fpu: Provide fpu_update_guest_xcr0/xfd()
Date
> From: Tian, Kevin
> Sent: Tuesday, December 14, 2021 2:26 PM
> > +static inline int fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64
> xcr0,
> > u64 xfd)
> > +{
> > + return __fpu_update_guest_features(guest_fpu, xcr0, xfd);
> > +}
>
> no need to pass in xcr0. It can be fetched from vcpu->arch.xcr0.
>

This is a silly comment. There is not vcpu to be referenced...
\
 
 \ /
  Last update: 2021-12-15 07:15    [W:0.329 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site