Re: [patch 11/31] x86/fpu/xstate: Provide and use for_each_xfeature()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 12, 2021 at 02:00:14AM +0200, Thomas Gleixner wrote:
> These loops evaluating xfeature bits are really hard to read. Create an
> iterator and use for_each_set_bit_from() inside which already does the right
> thing.

<--- No functional changes.

> 
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
>  arch/x86/kernel/fpu/xstate.c |   56 +++++++++++++++++--------------------------
>  1 file changed, 23 insertions(+), 33 deletions(-)

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux