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)
*/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"