From: Aaro Koskinen Date: Wed, 21 Nov 2018 22:37:22 +0000 (+0200) Subject: MIPS: OCTEON: cvmx-l2c: make cvmx_l2c_spinlock static X-Git-Tag: v5.4-rc1~1858^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6430ba58125713f88327996055a53572b58dbe66;p=platform%2Fkernel%2Flinux-rpi.git MIPS: OCTEON: cvmx-l2c: make cvmx_l2c_spinlock static Make cvmx_l2c_spinlock static, it's not used outside the file. Signed-off-by: Aaro Koskinen Signed-off-by: Paul Burton Patchwork: https://patchwork.linux-mips.org/patch/21209/ Cc: Ralf Baechle Cc: James Hogan Cc: linux-mips@linux-mips.org --- diff --git a/arch/mips/cavium-octeon/executive/cvmx-l2c.c b/arch/mips/cavium-octeon/executive/cvmx-l2c.c index f091c9b..83df0a9 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-l2c.c +++ b/arch/mips/cavium-octeon/executive/cvmx-l2c.c @@ -44,7 +44,7 @@ * if multiple applications or operating systems are running, then it * is up to the user program to coordinate between them. */ -cvmx_spinlock_t cvmx_l2c_spinlock; +static cvmx_spinlock_t cvmx_l2c_spinlock; int cvmx_l2c_get_core_way_partition(uint32_t core) {