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-- | 691 bytes |
Makefile | -rw-r--r-- | 452 bytes |
channel.c | -rw-r--r-- | 34.1 KB |
channel_mgmt.c | -rw-r--r-- | 41.4 KB |
connection.c | -rw-r--r-- | 11.8 KB |
hv.c | -rw-r--r-- | 7.1 KB |
hv_balloon.c | -rw-r--r-- | 45.0 KB |
hv_debugfs.c | -rw-r--r-- | 4.4 KB |
hv_fcopy.c | -rw-r--r-- | 11.4 KB |
hv_kvp.c | -rw-r--r-- | 21.5 KB |
hv_snapshot.c | -rw-r--r-- | 11.6 KB |
hv_trace.c | -rw-r--r-- | 114 bytes |
hv_trace.h | -rw-r--r-- | 10.5 KB |
hv_trace_balloon.h | -rw-r--r-- | 1.6 KB |
hv_util.c | -rw-r--r-- | 19.8 KB |
hv_utils_transport.c | -rw-r--r-- | 7.6 KB |
hv_utils_transport.h | -rw-r--r-- | 1.6 KB |
hyperv_vmbus.h | -rw-r--r-- | 12.2 KB |
ring_buffer.c | -rw-r--r-- | 16.5 KB |
vmbus_drv.c | -rw-r--r-- | 70.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...