diff options
| -rw-r--r-- | arch/mips/mm/uasm-micromips.c | 8 | ||||
| -rw-r--r-- | arch/mips/mm/uasm-mips.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/mm/uasm-micromips.c b/arch/mips/mm/uasm-micromips.c index 8399ddf03a02..d78178daea4b 100644 --- a/arch/mips/mm/uasm-micromips.c +++ b/arch/mips/mm/uasm-micromips.c | |||
| @@ -38,14 +38,6 @@ | |||
| 38 | | (e) << RE_SH \ | 38 | | (e) << RE_SH \ |
| 39 | | (f) << FUNC_SH) | 39 | | (f) << FUNC_SH) |
| 40 | 40 | ||
| 41 | /* Define these when we are not the ISA the kernel is being compiled with. */ | ||
| 42 | #ifndef CONFIG_CPU_MICROMIPS | ||
| 43 | #define MM_uasm_i_b(buf, off) ISAOPC(_beq)(buf, 0, 0, off) | ||
| 44 | #define MM_uasm_i_beqz(buf, rs, off) ISAOPC(_beq)(buf, rs, 0, off) | ||
| 45 | #define MM_uasm_i_beqzl(buf, rs, off) ISAOPC(_beql)(buf, rs, 0, off) | ||
| 46 | #define MM_uasm_i_bnez(buf, rs, off) ISAOPC(_bne)(buf, rs, 0, off) | ||
| 47 | #endif | ||
| 48 | |||
| 49 | #include "uasm.c" | 41 | #include "uasm.c" |
| 50 | 42 | ||
| 51 | static struct insn insn_table_MM[] = { | 43 | static struct insn insn_table_MM[] = { |
diff --git a/arch/mips/mm/uasm-mips.c b/arch/mips/mm/uasm-mips.c index 855fc8a6a3c5..b4a837893562 100644 --- a/arch/mips/mm/uasm-mips.c +++ b/arch/mips/mm/uasm-mips.c | |||
| @@ -46,14 +46,6 @@ | |||
| 46 | | (d) << SIMM9_SH \ | 46 | | (d) << SIMM9_SH \ |
| 47 | | (e) << FUNC_SH) | 47 | | (e) << FUNC_SH) |
| 48 | 48 | ||
| 49 | /* Define these when we are not the ISA the kernel is being compiled with. */ | ||
| 50 | #ifdef CONFIG_CPU_MICROMIPS | ||
| 51 | #define CL_uasm_i_b(buf, off) ISAOPC(_beq)(buf, 0, 0, off) | ||
| 52 | #define CL_uasm_i_beqz(buf, rs, off) ISAOPC(_beq)(buf, rs, 0, off) | ||
| 53 | #define CL_uasm_i_beqzl(buf, rs, off) ISAOPC(_beql)(buf, rs, 0, off) | ||
| 54 | #define CL_uasm_i_bnez(buf, rs, off) ISAOPC(_bne)(buf, rs, 0, off) | ||
| 55 | #endif | ||
| 56 | |||
| 57 | #include "uasm.c" | 49 | #include "uasm.c" |
| 58 | 50 | ||
| 59 | static struct insn insn_table[] = { | 51 | static struct insn insn_table[] = { |
