Date: Tue, 31 May 2016 17:49:47 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301060 - head/sys/arm/arm Message-ID: <201605311749.u4VHnlSK023105@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue May 31 17:49:47 2016 New Revision: 301060 URL: https://svnweb.freebsd.org/changeset/base/301060 Log: Bin interrupts to the correct CPU when we boot on a non-zero CPU. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c ============================================================================== --- head/sys/arm/arm/gic.c Tue May 31 17:30:08 2016 (r301059) +++ head/sys/arm/arm/gic.c Tue May 31 17:49:47 2016 (r301060) @@ -968,7 +968,7 @@ gic_bind(struct arm_gic_softc *sc, u_int for (mask = 0, cpu = 0; cpu < end; cpu++) if (CPU_ISSET(cpu, cpus)) - mask |= 1 << cpu; + mask |= 1 << arm_gic_map[cpu]; gic_d_write_1(sc, GICD_ITARGETSR(0) + irq, mask); return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605311749.u4VHnlSK023105>