From owner-svn-src-head@FreeBSD.ORG Sat Mar 28 21:39:43 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B51A2DBB; Sat, 28 Mar 2015 21:39:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0878CD4; Sat, 28 Mar 2015 21:39:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2SLdhaU073691; Sat, 28 Mar 2015 21:39:43 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2SLdhjw073690; Sat, 28 Mar 2015 21:39:43 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201503282139.t2SLdhjw073690@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Sat, 28 Mar 2015 21:39:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r280794 - head/sys/powerpc/booke X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 21:39:43 -0000 Author: jhibbits Date: Sat Mar 28 21:39:42 2015 New Revision: 280794 URL: https://svnweb.freebsd.org/changeset/base/280794 Log: Wrap #ifdef guards around pmap_bootstrap ap. It's only used in SMP, and building without SMP causes a build failure. MFC after: 1 month Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c ============================================================================== --- head/sys/powerpc/booke/pmap.c Sat Mar 28 21:28:22 2015 (r280793) +++ head/sys/powerpc/booke/pmap.c Sat Mar 28 21:39:42 2015 (r280794) @@ -262,7 +262,9 @@ static vm_offset_t ptbl_buf_pool_vabase; /* Pointer to ptbl_buf structures. */ static struct ptbl_buf *ptbl_bufs; +#ifdef SMP void pmap_bootstrap_ap(volatile uint32_t *); +#endif /* * Kernel MMU interface @@ -1329,6 +1331,7 @@ mmu_booke_bootstrap(mmu_t mmu, vm_offset debugf("mmu_booke_bootstrap: exit\n"); } +#ifdef SMP void pmap_bootstrap_ap(volatile uint32_t *trcp __unused) { @@ -1349,6 +1352,7 @@ pmap_bootstrap_ap(volatile uint32_t *trc set_mas4_defaults(); } +#endif /* * Get the physical page address for the given pmap/virtual address.