Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 15:44:53 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185932 - head/sys/sys
Message-ID:  <200812111544.mBBFir50068918@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Thu Dec 11 15:44:53 2008
New Revision: 185932
URL: http://svn.freebsd.org/changeset/base/185932

Log:
  Error in case anyone tried to compile with both options VIMAGE and
  the (temporary) option VIMAGE_GLOBALS.
  
  Sponsored by:	The FreeBSD Foundation:

Modified:
  head/sys/sys/vimage.h

Modified: head/sys/sys/vimage.h
==============================================================================
--- head/sys/sys/vimage.h	Thu Dec 11 15:42:59 2008	(r185931)
+++ head/sys/sys/vimage.h	Thu Dec 11 15:44:53 2008	(r185932)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812111544.mBBFir50068918>