lkml.org 
[lkml]   [2021]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 11/31] x86/fpu/xstate: Provide and use for_each_xfeature()
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@linutronix.de>
> ---
> 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

\
 
 \ /
  Last update: 2021-10-12 18:46    [W:0.393 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site