From owner-svn-src-all@freebsd.org Wed Oct 21 13:59:02 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CD13A1B2C2; Wed, 21 Oct 2015 13:59:02 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 1C7DE280; Wed, 21 Oct 2015 13:59:02 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9LDx1iN081199; Wed, 21 Oct 2015 13:59:01 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9LDx1sH081198; Wed, 21 Oct 2015 13:59:01 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201510211359.t9LDx1sH081198@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Wed, 21 Oct 2015 13:59:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289698 - head/sys/arm/arm 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.20 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, 21 Oct 2015 13:59:02 -0000 Author: ian Date: Wed Oct 21 13:59:00 2015 New Revision: 289698 URL: https://svnweb.freebsd.org/changeset/base/289698 Log: Move arm_gic_bind() out of the #ifdef SMP block to fix compile errors in the not-SMP case. This is safe because arm_irq_next_cpu() will return the cpuid of the current/only core in the not-SMP case. Submitted by: Bartosz Szczepanek @ semihalf Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c ============================================================================== --- head/sys/arm/arm/gic.c Wed Oct 21 13:53:07 2015 (r289697) +++ head/sys/arm/arm/gic.c Wed Oct 21 13:59:00 2015 (r289698) @@ -860,7 +860,6 @@ arm_gic_post_filter(device_t dev, struct gic_c_write_4(sc, GICC_EOIR, isrc->isrc_data); } -#ifdef SMP static int arm_gic_bind(device_t dev, struct arm_irqsrc *isrc) { @@ -877,6 +876,7 @@ arm_gic_bind(device_t dev, struct arm_ir return (gic_bind(sc, irq, &isrc->isrc_cpu)); } +#ifdef SMP static void arm_gic_ipi_send(device_t dev, struct arm_irqsrc *isrc, cpuset_t cpus) {