diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-05-29 10:57:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:29 -0400 |
commit | 17f61e61b4a1d3ca254668cf12c1c5d828d892fd (patch) | |
tree | b93e5316c61925736e9e9bca30c2f0fff45b81cf /arch/mips/mm/uasm.h | |
parent | 07cdb78436d52416a582e645b9afb6e26f986bc9 (diff) |
[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.h')
-rw-r--r-- | arch/mips/mm/uasm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/mm/uasm.h b/arch/mips/mm/uasm.h index 0d6a66f32030..c6d1e3dd82d4 100644 --- a/arch/mips/mm/uasm.h +++ b/arch/mips/mm/uasm.h | |||
@@ -103,8 +103,6 @@ struct uasm_label { | |||
103 | void __cpuinit uasm_build_label(struct uasm_label **lab, u32 *addr, int lid); | 103 | void __cpuinit uasm_build_label(struct uasm_label **lab, u32 *addr, int lid); |
104 | #ifdef CONFIG_64BIT | 104 | #ifdef CONFIG_64BIT |
105 | int uasm_in_compat_space_p(long addr); | 105 | int uasm_in_compat_space_p(long addr); |
106 | int uasm_rel_highest(long val); | ||
107 | int uasm_rel_higher(long val); | ||
108 | #endif | 106 | #endif |
109 | int uasm_rel_hi(long val); | 107 | int uasm_rel_hi(long val); |
110 | int uasm_rel_lo(long val); | 108 | int uasm_rel_lo(long val); |