]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: Declare emulate_load_store_microMIPS as a static function.
authorDavid Daney <david.daney@cavium.com>
Fri, 24 May 2013 20:54:08 +0000 (20:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Jun 2013 11:08:45 +0000 (13:08 +0200)
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>
arch/mips/kernel/unaligned.c

index 8eaf310ffc6ca361e0e6789054520b276e1add59..c369a5d355273c49e3d7e35601afa2f86fe4fd70 100644 (file)
@@ -685,7 +685,8 @@ const int reg16to32[] = { 16, 17, 2, 3, 4, 5, 6, 7 };
 /* Recode table from 16-bit STORE register notation to 32-bit GPR. */
 const int reg16to32st[] = { 0, 17, 2, 3, 4, 5, 6, 7 };
 
-void emulate_load_store_microMIPS(struct pt_regs *regs, void __user * addr)
+static void emulate_load_store_microMIPS(struct pt_regs *regs,
+                                        void __user *addr)
 {
        unsigned long value;
        unsigned int res;