]> git.baikalelectronics.ru Git - kernel.git/commit
mm: use __pfn_to_section() instead of open coding it
authorRolf Eike Beer <eb@emlix.com>
Fri, 5 Nov 2021 20:38:15 +0000 (13:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:35 +0000 (13:30 -0700)
commitc17848321a4ae0f76d2e74c9209ae78e38b2ffb3
treecfca0ead331986321e4ffc9c6e2f377f2a36da1b
parent8018bc6cc03012a3984460c56a28f671629c3696
mm: use __pfn_to_section() instead of open coding it

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: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h