diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-09-13 21:40:02 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-10-10 09:21:17 +0000 |
commit | 45e930db73af952225d04722d83496c397d6450b (patch) | |
tree | 26f89ca543c252aada3655ba43916522568cf2e6 | |
parent | 126979c5250093325033266ee56bf6b8f531d083 (diff) | |
download | src-45e930db73af952225d04722d83496c397d6450b.tar.gz src-45e930db73af952225d04722d83496c397d6450b.zip |
linux32: add a hack to avoid redefining the type of the savefpu tag
(cherry picked from commit 0f6829488ef32142b9ea1c0806fb5ecfe0872c02)
-rw-r--r-- | sys/x86/include/fpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/x86/include/fpu.h b/sys/x86/include/fpu.h index 313a03ea55c9..bb8533d599dd 100644 --- a/sys/x86/include/fpu.h +++ b/sys/x86/include/fpu.h @@ -123,10 +123,12 @@ struct savexmm { } __aligned(16); #ifdef __i386__ +#ifndef __M32_BROKEN_MODULE_HACK__ union savefpu { struct save87 sv_87; struct savexmm sv_xmm; }; +#endif /* __M32_BROKEN_MODULE_HACK__ */ #else /* Floating point context. (amd64 fxsave/fxrstor) */ struct savefpu { |