Commit 74a80f8d authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Greg Kroah-Hartman
Browse files

mm: use __pfn_to_section() instead of open coding it

[ Upstream commit f1dc0db2 ]

It is defined in the same file just a few lines above.

Link: https://lkml.kernel.org/r/4598487.Rc0NezkW7i@mobilepool36.emlix.com


Signed-off-by: default avatarRolf Eike Beer <eb@emlix.com>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: 5ec8e8ea ("mm/sparsemem: fix race in accessing memory_section->usage")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 43872f44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment