diff options
author | David Daney <david.daney@cavium.com> | 2013-05-24 16:54:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-07-01 09:10:57 -0400 |
commit | 74338805ec6869594d583535f941cb478c94dd73 (patch) | |
tree | 35b731b3521fc15b2bab5d47c831a09dc0df81ea /arch | |
parent | 42a111797e8fa961d6168922e873d6b4be87e904 (diff) |
MIPS: Declare emulate_load_store_microMIPS as a static function.
It is only used from within a single file, it should not be globally
visible.
Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5325/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/unaligned.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/unaligned.c b/arch/mips/kernel/unaligned.c index 8eaf310ffc6c..c369a5d35527 100644 --- a/arch/mips/kernel/unaligned.c +++ b/arch/mips/kernel/unaligned.c | |||
@@ -685,7 +685,8 @@ const int reg16to32[] = { 16, 17, 2, 3, 4, 5, 6, 7 }; | |||
685 | /* Recode table from 16-bit STORE register notation to 32-bit GPR. */ | 685 | /* Recode table from 16-bit STORE register notation to 32-bit GPR. */ |
686 | const int reg16to32st[] = { 0, 17, 2, 3, 4, 5, 6, 7 }; | 686 | const int reg16to32st[] = { 0, 17, 2, 3, 4, 5, 6, 7 }; |
687 | 687 | ||
688 | void emulate_load_store_microMIPS(struct pt_regs *regs, void __user * addr) | 688 | static void emulate_load_store_microMIPS(struct pt_regs *regs, |
689 | void __user *addr) | ||
689 | { | 690 | { |
690 | unsigned long value; | 691 | unsigned long value; |
691 | unsigned int res; | 692 | unsigned int res; |