diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-05-29 17:57:09 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 18:44:29 +0100 |
commit | 17f61e61b4a1d3ca254668cf12c1c5d828d892fd (patch) | |
tree | b93e5316c61925736e9e9bca30c2f0fff45b81cf /arch/mips/mm/uasm.c | |
parent | 07cdb78436d52416a582e645b9afb6e26f986bc9 (diff) | |
download | talos-obmc-linux-17f61e61b4a1d3ca254668cf12c1c5d828d892fd.tar.gz talos-obmc-linux-17f61e61b4a1d3ca254668cf12c1c5d828d892fd.zip |
[MIPS] Make two functions static
The following routines
uasm_rel_highest()
uasm_rel_higher()
are needlessly defined global. This patch makes them static.
Compile-tested using a customized config for the Malta board. Booting
the same board up to the shell prompt was also successful with this
patch applied.
Spotted by sparse.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/uasm.c')
-rw-r--r-- | arch/mips/mm/uasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/uasm.c b/arch/mips/mm/uasm.c index 1655aa69e133..f467199676a8 100644 --- a/arch/mips/mm/uasm.c +++ b/arch/mips/mm/uasm.c @@ -396,7 +396,7 @@ int __cpuinit uasm_in_compat_space_p(long addr) #endif } -int __cpuinit uasm_rel_highest(long val) +static int __cpuinit uasm_rel_highest(long val) { #ifdef CONFIG_64BIT return ((((val + 0x800080008000L) >> 48) & 0xffff) ^ 0x8000) - 0x8000; @@ -405,7 +405,7 @@ int __cpuinit uasm_rel_highest(long val) #endif } -int __cpuinit uasm_rel_higher(long val) +static int __cpuinit uasm_rel_higher(long val) { #ifdef CONFIG_64BIT return ((((val + 0x80008000L) >> 32) & 0xffff) ^ 0x8000) - 0x8000; |