diff options
author | Ralf Baechle <[email protected]> | 2014-05-21 11:42:10 +0200 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2014-05-21 12:25:39 +0200 |
commit | e5eb925a1804c4a52994ba57f4f68ee7a9132905 (patch) | |
tree | 537ff44f413665231fd7932dfdce6d9c34661f0b /tools/perf/util/trace-event-scripting.c | |
parent | 60b5f90d0fac7585f1a43ccdad06787b97eda0ab (diff) |
MIPS: Change type of asid_cache to unsigned long
asid_cache must be unsigned long otherwise on 64 bit systems it will
become 0 if the value in get_new_mmu_context() reaches 0xffffffff and
in the end the assumption of ASID_FIRST_VERSION is not true anymore
thus leads to more dangerous things.
Initial patch by Yong Zhang <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Reported-by: libin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions