diff options
| author | James Hogan <[email protected]> | 2016-05-11 15:50:27 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-13 15:30:25 +0200 |
| commit | 9e575f753576d85e83ae0afc27eca9708259a797 (patch) | |
| tree | 3a8c171b002fed3835b6446d9bd25c80febe040d /tools/perf/scripts/python | |
| parent | 30228c40f0c6f0a93910325f120904505a4c39cc (diff) | |
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 <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13227/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions