projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af84c00
)
MIPS: OCTEON: cvmx-l2c: make cvmx_l2c_spinlock static
author
Aaro Koskinen
<
[email protected]
>
Wed, 21 Nov 2018 22:37:22 +0000
(
00:37
+0200)
committer
Paul Burton
<
[email protected]
>
Wed, 21 Nov 2018 23:36:39 +0000
(15:36 -0800)
Make cvmx_l2c_spinlock static, it's not used outside the file.
Signed-off-by: Aaro Koskinen <
[email protected]
>
Signed-off-by: Paul Burton <
[email protected]
>
Patchwork: https://patchwork.linux-mips.org/patch/21209/
Cc: Ralf Baechle <
[email protected]
>
Cc: James Hogan <
[email protected]
>
Cc:
[email protected]
arch/mips/cavium-octeon/executive/cvmx-l2c.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/executive/cvmx-l2c.c
b/arch/mips/cavium-octeon/executive/cvmx-l2c.c
index f091c9b70603aa5cf21e7a1da1a5818c383af350..83df0a963a8bc74abe0681ce3000a0cbcb977936 100644
(file)
--- 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)
{