diff options
| author | Nicholas Piggin <[email protected]> | 2022-09-16 14:07:49 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-09-26 20:58:16 +1000 |
| commit | 7082f8e7d2276575a8806370007cbb4a7b9abdce (patch) | |
| tree | 8b534ee44f283a58de7353121e364a7f9e524747 /tools/perf/scripts/python | |
| parent | b150a4d12b919baf956b807aa305cf78df03d0fe (diff) | |
powerpc: move __end_rodata to cover arch read-only sections
powerpc has a number of read-only sections and tables that are put after
RO_DATA(). Move the __end_rodata symbol to cover these as well.
Setting memory to read-only at boot is done using __init_begin, change
that to use __end_rodata.
This makes is_kernel_rodata() exactly cover the read-only region, as
well as other things using __end_rodata (e.g., kernel/dma/debug.c).
Boot dmesg also prints the rodata size more accurately.
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions