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.
This commit is contained in:
Gleb Smirnoff 2013-04-10 16:09:45 +00:00
parent ffc3b12c07
commit 85d592adf9

View File

@ -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)
*/