FPU: make xsave_area_desc static

...because it can be.

Reviewed by:	cem kib
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D25098
This commit is contained in:
Eric van Gyzen 2020-06-12 21:12:26 +00:00
parent 674cbe7908
commit 701acc2fd8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362120
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ uint64_t xsave_mask; /* the same */
static uma_zone_t fpu_save_area_zone;
static struct savefpu *fpu_initialstate;
struct xsave_area_elm_descr {
static struct xsave_area_elm_descr {
u_int offset;
u_int size;
} *xsave_area_desc;

View File

@ -201,7 +201,7 @@ uint64_t xsave_mask;
static uma_zone_t fpu_save_area_zone;
static union savefpu *npx_initialstate;
struct xsave_area_elm_descr {
static struct xsave_area_elm_descr {
u_int offset;
u_int size;
} *xsave_area_desc;