]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memory_hotplug: cleanup after removal of pfn_valid_within()
authorMike Rapoport <rppt@linux.ibm.com>
Wed, 8 Sep 2021 02:54:55 +0000 (19:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Sep 2021 18:50:22 +0000 (11:50 -0700)
commitddf06f475681e983fb336565c3ab3e23e6069723
treed15aa0fb3402cda8b823a376018e5b8f6bbe83d0
parent7c485a5efb433ef0656cac80420a29de46ae714e
mm: memory_hotplug: cleanup after removal of pfn_valid_within()

When test_pages_in_a_zone() used pfn_valid_within() is has some logic
surrounding pfn_valid_within() checks.

Since pfn_valid_within() is gone, this logic can be removed.

Link: https://lkml.kernel.org/r/20210713080035.7464-3-rppt@kernel.org
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c