summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2018-12-14 23:16:57 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-15 00:05:45 +0100
commit9def36e0fa9a0d9c5393c039db59f1f2d3a388b3 (patch)
tree5288794d13f07dba8f7a326b3b0ba49b7d832413 /mm/internal.h
parentmm: introduce common STRUCT_PAGE_MAX_SHIFT define (diff)
downloadlinux-9def36e0fa9a0d9c5393c039db59f1f2d3a388b3.tar.xz
linux-9def36e0fa9a0d9c5393c039db59f1f2d3a388b3.zip
mm/sparse: add common helper to mark all memblocks present
Presently the arches arm64, arm and sh have a function which loops through each memblock and calls memory present. riscv will require a similar function. Introduce a common memblocks_present() function that can be used by all the arches. Subsequent patches will cleanup the arches that make use of this. Link: http://lkml.kernel.org/r/20181107205433.3875-3-logang@deltatee.com Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Andrew Morton <akpm@linux-foundation.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Oscar Salvador <osalvador@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions