From owner-svn-src-all@FreeBSD.ORG Wed Apr 10 16:09:45 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C4BAA8B2; Wed, 10 Apr 2013 16:09:45 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B7CB688E; Wed, 10 Apr 2013 16:09:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3AG9j3r084971; Wed, 10 Apr 2013 16:09:45 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3AG9js1084970; Wed, 10 Apr 2013 16:09:45 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201304101609.r3AG9js1084970@svn.freebsd.org> From: Gleb Smirnoff Date: Wed, 10 Apr 2013 16:09:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249335 - head/sys/powerpc/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 16:09:45 -0000 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) */