diff options
| author | David Hildenbrand <[email protected]> | 2024-06-07 10:37:11 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-03 19:30:06 -0700 |
| commit | 90b8fab5cdc441735d388e286c715da7c85b24f1 (patch) | |
| tree | 1bbe974d59fc4707f5fe487a317b0d9817431d1d /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 7a581204b1fa4fed233ed3b7ffcf6847cc383dbc (diff) | |
mm/highmem: make nr_free_highpages() return "unsigned long"
It looks rather weird that totalhigh_pages() returns an "unsigned long"
but nr_free_highpages() returns an "unsigned int".
Let's return an "unsigned long" from nr_free_highpages() to be consistent.
While at it, use a plain "0" instead of a "0UL" in the !CONFIG_HIGHMEM
totalhigh_pages() implementation, to make these look alike as well.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions