]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: uasm: Remove needless ISA abstraction
authorPaul Burton <paul.burton@imgtec.com>
Thu, 30 Mar 2017 21:52:15 +0000 (14:52 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Apr 2017 11:52:21 +0000 (13:52 +0200)
commit33679a50370db9aa1a3f0cdf5f70c1c07236a4b2
tree30e6093a72f712b909b8f42d6c267fc925288679
parent828d1e4e98654e2284496e2fd7f9605ba04ef02a
MIPS: uasm: Remove needless ISA abstraction

We always either target MIPS32/MIPS64 or microMIPS, and always include
one & only one of uasm-mips.c or uasm-micromips.c. Therefore the
abstraction of the ISA in asm/uasm.h declaring functions for either ISA
is redundant & needless. Remove it to simplify the code.

This is largely the result of the following:

  :%s/ISAOPC(\(.\{-}\))/uasm_i##\1/
  :%s/ISAFUNC(\(.\{-}\))/\1/

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Paul Burton <paul.burton@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/15844/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/uasm.h
arch/mips/mm/uasm.c