diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2018-11-21 23:37:22 +0100 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-11-22 00:36:39 +0100 |
commit | 6430ba58125713f88327996055a53572b58dbe66 (patch) | |
tree | 7e57991db796cc3289d55cf93c831714f8e6dc12 /arch/mips | |
parent | MIPS: Regenerate defconfigs (diff) | |
download | linux-6430ba58125713f88327996055a53572b58dbe66.tar.xz linux-6430ba58125713f88327996055a53572b58dbe66.zip |
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 <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21209/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/cavium-octeon/executive/cvmx-l2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-l2c.c b/arch/mips/cavium-octeon/executive/cvmx-l2c.c index f091c9b70603..83df0a963a8b 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) { |