lkml.org 
[lkml]   [2015]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/11] x86, fpu: remove xfeature_nr

* Dave Hansen <dave@sr71.net> wrote:

>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> xfeature_nr ended up being initialized too late for me to
> use it in the "xsave size sanity check" patch which is
> later in the series. I tried to move around its initialization
> but realized that it was just as easy to get rid of it.
>
> We only have 9 XFEATURES. Instead of dynamically calculating
> and storing the last feature, just use the compile-time max:
> XFEATURES_NR_MAX. Note that even with 'xfeatures_nr' we can
> had "holes" in the xfeatures_mask that we had to deal with.

s/we can had/we can have

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-08-28 07:41    [W:0.096 / U:1.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site