[MIPS] Scatter a bunch of __init over tlbex.c. Found by make buildcheck. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+17 -17
+17 -17
arch/mips/mm/tlbex.c
··· 280 } 281 282 #define I_u1u2u3(op) \ 283 - static inline void i##op(u32 **buf, unsigned int a, \ 284 unsigned int b, unsigned int c) \ 285 { \ 286 build_insn(buf, insn##op, a, b, c); \ 287 } 288 289 #define I_u2u1u3(op) \ 290 - static inline void i##op(u32 **buf, unsigned int a, \ 291 unsigned int b, unsigned int c) \ 292 { \ 293 build_insn(buf, insn##op, b, a, c); \ 294 } 295 296 #define I_u3u1u2(op) \ 297 - static inline void i##op(u32 **buf, unsigned int a, \ 298 unsigned int b, unsigned int c) \ 299 { \ 300 build_insn(buf, insn##op, b, c, a); \ 301 } 302 303 #define I_u1u2s3(op) \ 304 - static inline void i##op(u32 **buf, unsigned int a, \ 305 unsigned int b, signed int c) \ 306 { \ 307 build_insn(buf, insn##op, a, b, c); \ 308 } 309 310 #define I_u2s3u1(op) \ 311 - static inline void i##op(u32 **buf, unsigned int a, \ 312 signed int b, unsigned int c) \ 313 { \ 314 build_insn(buf, insn##op, c, a, b); \ 315 } 316 317 #define I_u2u1s3(op) \ 318 - static inline void i##op(u32 **buf, unsigned int a, \ 319 unsigned int b, signed int c) \ 320 { \ 321 build_insn(buf, insn##op, b, a, c); \ 322 } 323 324 #define I_u1u2(op) \ 325 - static inline void i##op(u32 **buf, unsigned int a, \ 326 unsigned int b) \ 327 { \ 328 build_insn(buf, insn##op, a, b); \ 329 } 330 331 #define I_u1s2(op) \ 332 - static inline void i##op(u32 **buf, unsigned int a, \ 333 signed int b) \ 334 { \ 335 build_insn(buf, insn##op, a, b); \ 336 } 337 338 #define I_u1(op) \ 339 - static inline void i##op(u32 **buf, unsigned int a) \ 340 { \ 341 build_insn(buf, insn##op, a); \ 342 } 343 344 #define I_0(op) \ 345 - static inline void i##op(u32 **buf) \ 346 { \ 347 build_insn(buf, insn##op); \ 348 } ··· 623 } 624 625 /* convenience functions for labeled branches */ 626 - static void __attribute__((unused)) il_bltz(u32 **p, struct reloc **r, 627 - unsigned int reg, enum label_id l) 628 { 629 r_mips_pc16(r, *p, l); 630 i_bltz(p, reg, 0); 631 } 632 633 - static void __attribute__((unused)) il_b(u32 **p, struct reloc **r, 634 enum label_id l) 635 { 636 r_mips_pc16(r, *p, l); 637 i_b(p, 0); 638 } 639 640 - static void il_beqz(u32 **p, struct reloc **r, unsigned int reg, 641 enum label_id l) 642 { 643 r_mips_pc16(r, *p, l); 644 i_beqz(p, reg, 0); 645 } 646 647 - static void __attribute__((unused)) 648 il_beqzl(u32 **p, struct reloc **r, unsigned int reg, enum label_id l) 649 { 650 r_mips_pc16(r, *p, l); 651 i_beqzl(p, reg, 0); 652 } 653 654 - static void il_bnez(u32 **p, struct reloc **r, unsigned int reg, 655 enum label_id l) 656 { 657 r_mips_pc16(r, *p, l); 658 i_bnez(p, reg, 0); 659 } 660 661 - static void il_bgezl(u32 **p, struct reloc **r, unsigned int reg, 662 enum label_id l) 663 { 664 r_mips_pc16(r, *p, l);
··· 280 } 281 282 #define I_u1u2u3(op) \ 283 + static inline void __init i##op(u32 **buf, unsigned int a, \ 284 unsigned int b, unsigned int c) \ 285 { \ 286 build_insn(buf, insn##op, a, b, c); \ 287 } 288 289 #define I_u2u1u3(op) \ 290 + static inline void __init i##op(u32 **buf, unsigned int a, \ 291 unsigned int b, unsigned int c) \ 292 { \ 293 build_insn(buf, insn##op, b, a, c); \ 294 } 295 296 #define I_u3u1u2(op) \ 297 + static inline void __init i##op(u32 **buf, unsigned int a, \ 298 unsigned int b, unsigned int c) \ 299 { \ 300 build_insn(buf, insn##op, b, c, a); \ 301 } 302 303 #define I_u1u2s3(op) \ 304 + static inline void __init i##op(u32 **buf, unsigned int a, \ 305 unsigned int b, signed int c) \ 306 { \ 307 build_insn(buf, insn##op, a, b, c); \ 308 } 309 310 #define I_u2s3u1(op) \ 311 + static inline void __init i##op(u32 **buf, unsigned int a, \ 312 signed int b, unsigned int c) \ 313 { \ 314 build_insn(buf, insn##op, c, a, b); \ 315 } 316 317 #define I_u2u1s3(op) \ 318 + static inline void __init i##op(u32 **buf, unsigned int a, \ 319 unsigned int b, signed int c) \ 320 { \ 321 build_insn(buf, insn##op, b, a, c); \ 322 } 323 324 #define I_u1u2(op) \ 325 + static inline void __init i##op(u32 **buf, unsigned int a, \ 326 unsigned int b) \ 327 { \ 328 build_insn(buf, insn##op, a, b); \ 329 } 330 331 #define I_u1s2(op) \ 332 + static inline void __init i##op(u32 **buf, unsigned int a, \ 333 signed int b) \ 334 { \ 335 build_insn(buf, insn##op, a, b); \ 336 } 337 338 #define I_u1(op) \ 339 + static inline void __init i##op(u32 **buf, unsigned int a) \ 340 { \ 341 build_insn(buf, insn##op, a); \ 342 } 343 344 #define I_0(op) \ 345 + static inline void __init i##op(u32 **buf) \ 346 { \ 347 build_insn(buf, insn##op); \ 348 } ··· 623 } 624 625 /* convenience functions for labeled branches */ 626 + static void __init __attribute__((unused)) 627 + il_bltz(u32 **p, struct reloc **r, unsigned int reg, enum label_id l) 628 { 629 r_mips_pc16(r, *p, l); 630 i_bltz(p, reg, 0); 631 } 632 633 + static void __init __attribute__((unused)) il_b(u32 **p, struct reloc **r, 634 enum label_id l) 635 { 636 r_mips_pc16(r, *p, l); 637 i_b(p, 0); 638 } 639 640 + static void __init il_beqz(u32 **p, struct reloc **r, unsigned int reg, 641 enum label_id l) 642 { 643 r_mips_pc16(r, *p, l); 644 i_beqz(p, reg, 0); 645 } 646 647 + static void __init __attribute__((unused)) 648 il_beqzl(u32 **p, struct reloc **r, unsigned int reg, enum label_id l) 649 { 650 r_mips_pc16(r, *p, l); 651 i_beqzl(p, reg, 0); 652 } 653 654 + static void __init il_bnez(u32 **p, struct reloc **r, unsigned int reg, 655 enum label_id l) 656 { 657 r_mips_pc16(r, *p, l); 658 i_bnez(p, reg, 0); 659 } 660 661 + static void __init il_bgezl(u32 **p, struct reloc **r, unsigned int reg, 662 enum label_id l) 663 { 664 r_mips_pc16(r, *p, l);