diff options
author | 2012-07-02 12:34:30 +0800 | |
---|---|---|
committer | 2012-08-27 16:10:13 +0200 | |
commit | 2bd4082776ff17a0d0d565852afb422931c2f6f2 (patch) | |
tree | 91e05d4d07dc50cb22e4ca66161f55124f139854 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.6-rc3 (diff) | |
download | linux-dev-2bd4082776ff17a0d0d565852afb422931c2f6f2.tar.xz linux-dev-2bd4082776ff17a0d0d565852afb422931c2f6f2.zip |
MIPS: CMP/SMTC: Fix tc_id calculation
Currently the tc_id code is:
(read_c0_tcbind() >> TCBIND_CURTC_SHIFT) & TCBIND_CURTC;
After processing this becomes:
(read_c0_tcbind() >> 21) & ((0xff) << 21)
But it should be:
(read_c0_tcbind() & ((0xff)<< 21)) >> 21
Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4077/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions