diff options
author | glebius <glebius@FreeBSD.org> | 2013-04-10 16:09:45 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-04-10 16:09:45 +0000 |
commit | 42e90ceb67bed2f7a4527885fff1118d67df465b (patch) | |
tree | 5c30539eb8489073a45167fcf2f41cdae8fee751 /sys/powerpc/include | |
parent | 65d2502f2d302c544a23463277bf296d7847d0fe (diff) | |
download | FreeBSD-src-42e90ceb67bed2f7a4527885fff1118d67df465b.zip FreeBSD-src-42e90ceb67bed2f7a4527885fff1118d67df465b.tar.gz |
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.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/pcpu.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/powerpc/include/pcpu.h b/sys/powerpc/include/pcpu.h index 66ad4b2..3f6a234 100644 --- a/sys/powerpc/include/pcpu.h +++ b/sys/powerpc/include/pcpu.h @@ -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) */ |