linux_dsm_epyc7002/arch/mips/include
James Hogan 9e575f7535 MIPS: Avoid magic numbers probing kscratch_mask
The decode_config4() function reads kscratch_mask from
CP0_Config4.KScrExist using a hard coded shift and mask. We already have
a definition for the mask in mipsregs.h, so add a definition for the
shift and make use of them.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13227/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-05-13 15:30:25 +02:00
..
asm MIPS: Avoid magic numbers probing kscratch_mask 2016-05-13 15:30:25 +02:00
uapi/asm MIPS: inst: Declare fsel_op for sel.fmt instruction 2016-05-13 14:02:21 +02:00