diff options
author | 2017-01-14 18:01:54 +0530 | |
---|---|---|
committer | 2017-02-23 08:21:34 -0800 | |
commit | cbc41b43e7c2ba6503b6b96dfe38e6b1316f46cf (patch) | |
tree | 52d30e253e4d0b4ef4f317c515fc964ce9dbd5d5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'akpm' (patches from Andrew) (diff) | |
download | linux-dev-cbc41b43e7c2ba6503b6b96dfe38e6b1316f46cf.tar.xz linux-dev-cbc41b43e7c2ba6503b6b96dfe38e6b1316f46cf.zip |
sparc32: mm: srmmu: add __ro_after_init to sparc32_cachetlb_ops structures
The objects viking_ops, viking_sun4d_smp_ops and smp_cachetlb_ops of
type sparc32_cachetlb_ops are not modified anywhere after getting modified
in the init functions. Inside init their reference is also stored in a
pointer of type const struct sparc32_cachetlb_ops *. So these structures
are never modified after init, therefore add __ro_after to the declaration
of these structures.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions