diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-03-21 15:07:51 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-04 00:39:16 +1000 |
commit | 9e4f02e24e106449a5efc964b74a195edb230a57 (patch) | |
tree | 7b5f7f042abbb7149201b886e2de0d1648e2dc6c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 48bdcace599b8e6241735a40fdb418a8471db089 (diff) |
powerpc/mm: constify LAST_CONTEXT in mmu_context_nohash
last_context is 16 on the 8xx, 65535 on the 47x and 255 on other ones.
The kernel is exclusively built for the 8xx, for the 47x or for
another processor so the last context can be defined as a constant
depending on the processor.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Reformat old comment]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions