Date: Wed, 21 Oct 2015 13:59:01 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289698 - head/sys/arm/arm Message-ID: <201510211359.t9LDx1sH081198@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510211359.t9LDx1sH081198>