Date: Fri, 12 Jun 2020 21:12:26 +0000 (UTC) From: Eric van Gyzen <vangyzen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362120 - in head/sys: amd64/amd64 i386/i386 Message-ID: <202006122112.05CLCQXX067003@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vangyzen Date: Fri Jun 12 21:12:26 2020 New Revision: 362120 URL: https://svnweb.freebsd.org/changeset/base/362120 Log: 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 Modified: head/sys/amd64/amd64/fpu.c head/sys/i386/i386/npx.c Modified: head/sys/amd64/amd64/fpu.c ============================================================================== --- head/sys/amd64/amd64/fpu.c Fri Jun 12 21:10:45 2020 (r362119) +++ head/sys/amd64/amd64/fpu.c Fri Jun 12 21:12:26 2020 (r362120) @@ -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; Modified: head/sys/i386/i386/npx.c ============================================================================== --- head/sys/i386/i386/npx.c Fri Jun 12 21:10:45 2020 (r362119) +++ head/sys/i386/i386/npx.c Fri Jun 12 21:12:26 2020 (r362120) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006122112.05CLCQXX067003>