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-- | 554 bytes |
Makefile | -rw-r--r-- | 121 bytes |
siox-bus-gpio.c | -rw-r--r-- | 4.2 KB |
siox-core.c | -rw-r--r-- | 21.2 KB |
siox.h | -rw-r--r-- | 1.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...