diff options
author | Guixiong Wei <[email protected]> | 2020-05-01 06:18:58 +1400 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-04-30 21:13:56 +0100 |
commit | 037d9303a7e7bac622e299817c5dd288346db07c (patch) | |
tree | bfe63747f466a023c91c795432afba5e51b2134b /scripts/gdb/linux/modules.py | |
parent | ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 (diff) |
arm: mm: use __pfn_to_section() to get mem_section
Replace the open-coded '__nr_to_section(pfn_to_section_nr(pfn))' in
pfn_valid() with a more concise call to '__pfn_to_section(pfn)'.
No functional change.
Signed-off-by: Guixiong Wei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions