From: Steven J. Hill Date: Tue, 5 Feb 2013 22:52:03 +0000 (-0600) Subject: MIPS: microMIPS: Add instruction utility macros. X-Git-Tag: v3.10-rc1~15^2^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfd08baae4591eca753afe3c9c63c583c4d4c78a;p=pandora-kernel.git MIPS: microMIPS: Add instruction utility macros. Add two new macros for microMIPS. One checks if an exception was taken in either microMIPS or classic MIPS mode. The other checks if a microMIPS instruction is 16-bit or 32-bit in length. [ralf@linux-mips.org: Removed unnecessary parenthesis as noted by Sergei Shtylyov ] Signed-off-by: Steven J. Hill Cc: linux-mips@linux-mips.org Cc: cernekee@gmail.com Cc: kevink@paralogos.com Cc: ddaney.cavm@gmail.com Cc: Sergei Shtylyov Patchwork: https://patchwork.linux-mips.org/patch/4924/ Signed-off-by: Ralf Baechle (cherry picked from commit 49df26472338b935fd5781bf94a77a88b148a716) --- Reading git-diff-tree failed