Revision 6c922cf75115c8b389c091a073209ca45f1af530 authored by Miaohe Lin on 26 February 2021, 01:17:21 UTC, committed by Linus Torvalds on 26 February 2021, 17:41:00 UTC
Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()") introduced the helper zone_end_pfn() to calculate the zone end pfn. But update_pgdat_span() forgot to use it. Use this helper and rename local variable zone_end_pfn to end_pfn to avoid a naming conflict with the existing zone_end_pfn(). Link: https://lkml.kernel.org/r/20210127093211.37714-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2601126
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 716 bytes |
Makefile | -rw-r--r-- | 204 bytes |
cfg.c | -rw-r--r-- | 11.4 KB |
cfg.h | -rw-r--r-- | 202 bytes |
driver-ops.h | -rw-r--r-- | 5.8 KB |
ieee802154_i.h | -rw-r--r-- | 5.0 KB |
iface.c | -rw-r--r-- | 19.0 KB |
llsec.c | -rw-r--r-- | 24.9 KB |
llsec.h | -rw-r--r-- | 2.8 KB |
mac_cmd.c | -rw-r--r-- | 3.8 KB |
main.c | -rw-r--r-- | 5.6 KB |
mib.c | -rw-r--r-- | 5.1 KB |
rx.c | -rw-r--r-- | 7.1 KB |
trace.c | -rw-r--r-- | 189 bytes |
trace.h | -rw-r--r-- | 6.4 KB |
tx.c | -rw-r--r-- | 3.0 KB |
util.c | -rw-r--r-- | 2.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...