diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-20 23:25:28 +0000 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2023-03-13 17:21:13 +0100 |
commit | 9ebe720eb93c5aa45e8523dae397d87628dc43e1 (patch) | |
tree | ca93a8f43c6e87a8c52d048c937c76523eb53a9c /tools/perf/scripts/python/stackcollapse.py | |
parent | e9d198f2be851f8c977b9ac47748edc4f9d0f26e (diff) |
mm: slub: make kobj_type structure constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definition to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Hyeonggon Yoo <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions