From owner-svn-src-head@FreeBSD.ORG Fri Nov 21 10:47:30 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5F48719; Fri, 21 Nov 2014 10:47:30 +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 C29C1C84; Fri, 21 Nov 2014 10:47:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sALAlU91091444; Fri, 21 Nov 2014 10:47:30 GMT (envelope-from bz@FreeBSD.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sALAlUVd091443; Fri, 21 Nov 2014 10:47:30 GMT (envelope-from bz@FreeBSD.org) Message-Id: <201411211047.sALAlUVd091443@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bz set sender to bz@FreeBSD.org using -f From: "Bjoern A. Zeeb" Date: Fri, 21 Nov 2014 10:47:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274788 - head/sys/mips/mips 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: Fri, 21 Nov 2014 10:47:30 -0000 Author: bz Date: Fri Nov 21 10:47:29 2014 New Revision: 274788 URL: https://svnweb.freebsd.org/changeset/base/274788 Log: Fix build for certain MIPS kernels hiding an unused variable under #ifndef. Modified: head/sys/mips/mips/cpu.c Modified: head/sys/mips/mips/cpu.c ============================================================================== --- head/sys/mips/mips/cpu.c Fri Nov 21 10:22:54 2014 (r274787) +++ head/sys/mips/mips/cpu.c Fri Nov 21 10:47:29 2014 (r274788) @@ -73,7 +73,9 @@ mips_get_identity(struct mips_cpuinfo *c u_int32_t prid; u_int32_t cfg0; u_int32_t cfg1; +#ifndef CPU_CNMIPS u_int32_t cfg2; +#endif #if defined(CPU_CNMIPS) u_int32_t cfg4; #endif