Error in case anyone tried to compile with both options VIMAGE and
the (temporary) option VIMAGE_GLOBALS. Sponsored by: The FreeBSD Foundation:
This commit is contained in:
parent
40eb85e75e
commit
8210f38296
@ -60,6 +60,10 @@ struct vnet_modlink {
|
||||
.vmi_symmap = m_symmap \
|
||||
};
|
||||
|
||||
#if defined(VIMAGE) && defined(VIMAGE_GLOBALS)
|
||||
#error "You cannot have both option VIMAGE and option VIMAGE_GLOBALS!"
|
||||
#endif
|
||||
|
||||
#ifdef VIMAGE_GLOBALS
|
||||
#define VSYM(base, sym) (sym)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user