summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-10-12 09:18:17 +0000
committerkib <kib@FreeBSD.org>2010-10-12 09:18:17 +0000
commit84212c755146fe8d191ba26c09911fe3411c965c (patch)
tree49b23685ac60a1e49a5edfa5657f8d82d84b941d /sys/compat
parent47dfb514f552fe3cfa9cd48c17ec7385fccb0422 (diff)
downloadFreeBSD-src-84212c755146fe8d191ba26c09911fe3411c965c.zip
FreeBSD-src-84212c755146fe8d191ba26c09911fe3411c965c.tar.gz
Add macro DECLARE_MODULE_TIED to denote a module as requiring the
kernel of exactly the same __FreeBSD_version as the headers module was compiled against. Mark our in-tree ABI emulators with DECLARE_MODULE_TIED. The modules use kernel interfaces that the Release Engineering Team feel are not stable enough to guarantee they will not change during the life cycle of a STABLE branch. In particular, the layout of struct sysentvec is declared to be not part of the STABLE KBI. Discussed with: bz, rwatson Approved by: re (bz, kensmith) MFC after: 2 weeks
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_sysvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index e15232b..b6ff153 100644
--- a/sys/compat/svr4/svr4_sysvec.c
+++ b/sys/compat/svr4/svr4_sysvec.c
@@ -309,5 +309,5 @@ static moduledata_t svr4_elf_mod = {
svr4_elf_modevent,
0
};
-DECLARE_MODULE(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
+DECLARE_MODULE_TIED(svr4elf, svr4_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
MODULE_DEPEND(svr4elf, streams, 1, 1, 1);
OpenPOWER on IntegriCloud