summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAleksandar Markovic <aleksandar.markovic@mips.com>2017-11-02 12:14:02 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2018-02-05 08:58:37 -0800
commit0d0e0871fd4f7fb4a6feeb00ac9993c83504c384 (patch)
treeb9a9753f7923140e5bd43861f85209c15fe23bbb /arch
parentc18976613cf09e54cb85314e0402e63fc74d3161 (diff)
FROMLIST: MIPS: math-emu: Declare function srl128() as static
Declare function srl128() as static, since it it used just locally to the source file. This also removes a sparse warning for corresponding file. Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> (cherry picked from: https://patchwork.linux-mips.org/patch/17585/) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/math-emu/dp_maddf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/dp_maddf.c b/arch/mips/math-emu/dp_maddf.c
index 28b90fd3e093..5c4ad8e32fcb 100644
--- a/arch/mips/math-emu/dp_maddf.c
+++ b/arch/mips/math-emu/dp_maddf.c
@@ -16,7 +16,7 @@
/* 128 bits shift right logical with rounding. */
-void srl128(u64 *hptr, u64 *lptr, int count)
+static void srl128(u64 *hptr, u64 *lptr, int count)
{
u64 low;