aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-09-22 18:54:39 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-09-22 20:17:47 +0000
commite36d0e86e3282cde5a12b6a623e6deefaabfd0c4 (patch)
tree9e7b9fcff9362e7787ec722222abc4c8f1717026 /sys/modules
parent624a34b87b2757cb33b33a5b40821990c8bce673 (diff)
downloadsrc-e36d0e86e3282cde5a12b6a623e6deefaabfd0c4.tar.gz
src-e36d0e86e3282cde5a12b6a623e6deefaabfd0c4.zip
Revert "linux32: add a hack to avoid redefining the type of the savefpu tag"
This reverts commit 0f6829488ef32142b9ea1c0806fb5ecfe0872c02. Also it changes the type of md_usr_fpu_save struct mdthread member to void *, which is what uncovered this trouble. Now the save area is untyped, but since it is hidden behind accessors, it is not too significant. Since apparently there are consumers affected outside the tree, this hack is better than one from the reverted revision. PR: 258678 Reported by: cy Reviewed by: cy, kevans, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32060
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 6c95a548bffb..373ec3dcae91 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -60,7 +60,7 @@ linux${SFX}_assym.h: linux${SFX}_genassym.o
sh ${SYSDIR}/kern/genassym.sh linux${SFX}_genassym.o > ${.TARGET}
.if ${MACHINE_CPUARCH} == "amd64"
-VDSOFLAGS=-DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 -D__M32_BROKEN_MODULE_HACK__ -m32
+VDSOFLAGS=-DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 -m32
.else
VDSOFLAGS=-mregparm=0
.endif