Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74338805 authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

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: default avatarDavid Daney <david.daney@cavium.com>
Acked-by: default avatarSteven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5325/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 42a11179
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;