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:
Bjoern A. Zeeb 2008-12-11 15:44:53 +00:00
parent 40eb85e75e
commit 8210f38296

View File

@ -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