From 84212c755146fe8d191ba26c09911fe3411c965c Mon Sep 17 00:00:00 2001 From: kib Date: Tue, 12 Oct 2010 09:18:17 +0000 Subject: 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 --- sys/sys/exec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/sys/exec.h') diff --git a/sys/sys/exec.h b/sys/sys/exec.h index 8c95c36..140ab2e 100644 --- a/sys/sys/exec.h +++ b/sys/sys/exec.h @@ -115,7 +115,8 @@ int exec_unregister(const struct execsw *); __CONCAT(name,_modevent), \ (void *)& execsw_arg \ }; \ - DECLARE_MODULE(name, __CONCAT(name,_mod), SI_SUB_EXEC, SI_ORDER_ANY) + DECLARE_MODULE_TIED(name, __CONCAT(name,_mod), SI_SUB_EXEC, \ + SI_ORDER_ANY) #endif #endif -- cgit v1.1