]> Git Repo - linux.git/commit
memblock: remove memblock_{set,clear}_region_flags
authorMike Rapoport <[email protected]>
Tue, 12 Mar 2019 06:30:46 +0000 (23:30 -0700)
committerLinus Torvalds <[email protected]>
Tue, 12 Mar 2019 17:04:02 +0000 (10:04 -0700)
commitfe145124dbe53c86bf32b941b2f2f88f891d985d
treedf349702489f4c9d283599e78df81ba9c6afb55c
parent26fb3dae0a1ec78bdde4b5b72e0e709503e8c596
memblock: remove memblock_{set,clear}_region_flags

The memblock API provides dedicated helpers to set or clear a flag on a
memory region, e.g.  memblock_{mark,clear}_hotplug().

The memblock_{set,clear}_region_flags() functions are used only by the
memblock internal function that adjusts the region flags.  Drop these
functions and use open-coded implementation instead.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memblock.h
mm/memblock.c
This page took 0.050435 seconds and 4 git commands to generate.