diff options
Diffstat (limited to 'arch/mips/mm/uasm-mips.c')
| -rw-r--r-- | arch/mips/mm/uasm-mips.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c index 5fcdd8fe3e83..0c724589854e 100644 --- a/arch/mips/mm/uasm-mips.c +++ b/arch/mips/mm/uasm-mips.c @@ -49,7 +49,7 @@  #include "uasm.c" -static struct insn insn_table[] __uasminitdata = { +static struct insn insn_table[] = {  	{ insn_addiu, M(addiu_op, 0, 0, 0, 0, 0), RS | RT | SIMM },  	{ insn_addu, M(spec_op, 0, 0, 0, 0, addu_op), RS | RT | RD },  	{ insn_andi, M(andi_op, 0, 0, 0, 0, 0), RS | RT | UIMM }, @@ -119,7 +119,7 @@ static struct insn insn_table[] __uasminitdata = {  #undef M -static inline __uasminit u32 build_bimm(s32 arg) +static inline u32 build_bimm(s32 arg)  {  	WARN(arg > 0x1ffff || arg < -0x20000,  	     KERN_WARNING "Micro-assembler field overflow\n"); @@ -129,7 +129,7 @@ static inline __uasminit u32 build_bimm(s32 arg)  	return ((arg < 0) ? (1 << 15) : 0) | ((arg >> 2) & 0x7fff);  } -static inline __uasminit u32 build_jimm(u32 arg) +static inline u32 build_jimm(u32 arg)  {  	WARN(arg & ~(JIMM_MASK << 2),  	     KERN_WARNING "Micro-assembler field overflow\n"); @@ -141,7 +141,7 @@ static inline __uasminit u32 build_jimm(u32 arg)   * The order of opcode arguments is implicitly left to right,   * starting with RS and ending with FUNC or IMM.   */ -static void __uasminit build_insn(u32 **buf, enum opcode opc, ...) +static void build_insn(u32 **buf, enum opcode opc, ...)  {  	struct insn *ip = NULL;  	unsigned int i; @@ -187,7 +187,7 @@ static void __uasminit build_insn(u32 **buf, enum opcode opc, ...)  	(*buf)++;  } -static inline void __uasminit +static inline void  __resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab)  {  	long laddr = (long)lab->addr;  | 
