From 701acc2fd85b547812ce2205e45398bb426d48a1 Mon Sep 17 00:00:00 2001 From: Eric van Gyzen Date: Fri, 12 Jun 2020 21:12:26 +0000 Subject: [PATCH] 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 --- sys/amd64/amd64/fpu.c | 2 +- sys/i386/i386/npx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 3049af6d3c0d..9feb14214217 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -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; diff --git a/sys/i386/i386/npx.c b/sys/i386/i386/npx.c index fc03de27d407..794eab31c27e 100644 --- a/sys/i386/i386/npx.c +++ b/sys/i386/i386/npx.c @@ -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;