Date: Wed, 24 Dec 2014 15:25:19 +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: r276180 - in head/sys/arm: arm include mv Message-ID: <201412241525.sBOFPJsV086727@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Wed Dec 24 15:25:18 2014 New Revision: 276180 URL: https://svnweb.freebsd.org/changeset/base/276180 Log: Rename pic_ipi_get to pic_ipi_read for intrng. Modified: head/sys/arm/arm/gic.c head/sys/arm/arm/mp_machdep.c head/sys/arm/include/smp.h head/sys/arm/mv/mpic.c Modified: head/sys/arm/arm/gic.c ============================================================================== --- head/sys/arm/arm/gic.c Wed Dec 24 13:49:40 2014 (r276179) +++ head/sys/arm/arm/gic.c Wed Dec 24 15:25:18 2014 (r276180) @@ -436,7 +436,7 @@ pic_ipi_send(cpuset_t cpus, u_int ipi) } int -pic_ipi_get(int i) +pic_ipi_read(int i) { if (i != -1) { Modified: head/sys/arm/arm/mp_machdep.c ============================================================================== --- head/sys/arm/arm/mp_machdep.c Wed Dec 24 13:49:40 2014 (r276179) +++ head/sys/arm/arm/mp_machdep.c Wed Dec 24 15:25:18 2014 (r276180) @@ -266,7 +266,7 @@ ipi_handler(void *arg) cpu = PCPU_GET(cpuid); - ipi = pic_ipi_get((int)arg); + ipi = pic_ipi_read((int)arg); while ((ipi != 0x3ff)) { switch (ipi) { @@ -329,7 +329,7 @@ ipi_handler(void *arg) } pic_ipi_clear(ipi); - ipi = pic_ipi_get(-1); + ipi = pic_ipi_read(-1); } return (FILTER_HANDLED); Modified: head/sys/arm/include/smp.h ============================================================================== --- head/sys/arm/include/smp.h Wed Dec 24 13:49:40 2014 (r276179) +++ head/sys/arm/include/smp.h Wed Dec 24 15:25:18 2014 (r276180) @@ -24,7 +24,7 @@ void ipi_selected(cpuset_t cpus, u_int i /* PIC interface */ void pic_ipi_send(cpuset_t cpus, u_int ipi); void pic_ipi_clear(int ipi); -int pic_ipi_get(int arg); +int pic_ipi_read(int arg); /* Platform interface */ void platform_mp_setmaxid(void); Modified: head/sys/arm/mv/mpic.c ============================================================================== --- head/sys/arm/mv/mpic.c Wed Dec 24 13:49:40 2014 (r276179) +++ head/sys/arm/mv/mpic.c Wed Dec 24 15:25:18 2014 (r276180) @@ -375,7 +375,7 @@ pic_ipi_send(cpuset_t cpus, u_int ipi) } int -pic_ipi_get(int i __unused) +pic_ipi_read(int i __unused) { uint32_t val;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412241525.sBOFPJsV086727>