Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2013 16:09:45 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249335 - head/sys/powerpc/include
Message-ID:  <201304101609.r3AG9js1084970@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Wed Apr 10 16:09:45 2013
New Revision: 249335
URL: http://svnweb.freebsd.org/changeset/base/249335

Log:
  Since UMA_ZONE_PCPU zones put a constraint on sizeof(struct pcpu), declared
  as CTASSERT in MI pcpu.h, stop including all possible mutually exclusive
  PCPU_MD_FIELDS fields into LINT kernels, due to brekaing
  aforementioned CTASSERT.

Modified:
  head/sys/powerpc/include/pcpu.h

Modified: head/sys/powerpc/include/pcpu.h
==============================================================================
--- head/sys/powerpc/include/pcpu.h	Wed Apr 10 16:01:45 2013	(r249334)
+++ head/sys/powerpc/include/pcpu.h	Wed Apr 10 16:09:45 2013	(r249335)
@@ -112,7 +112,6 @@ struct pmap;
 #define TLBSAVE_BOOKE_R30	14
 #define TLBSAVE_BOOKE_R31	15
 
-#ifndef COMPILING_LINT
 #ifdef AIM
 #define	PCPU_MD_FIELDS		\
 	PCPU_MD_COMMON_FIELDS	\
@@ -123,12 +122,7 @@ struct pmap;
 	PCPU_MD_COMMON_FIELDS	\
 	PCPU_MD_BOOKE_FIELDS
 #endif
-#else
-#define	PCPU_MD_FIELDS		\
-	PCPU_MD_COMMON_FIELDS	\
-	PCPU_MD_AIM_FIELDS	\
-	PCPU_MD_BOOKE_FIELDS
-#endif
+
 /*
  * Catch-all for ports (e.g. lsof, used by gtop)
  */



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