summaryrefslogtreecommitdiffstats
path: root/include/math-emu
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2022-03-22 22:47:34 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-22 23:57:10 +0100
commit2aa065f7afb28aabb475cc27f24cb18c5141173d (patch)
tree54114950e9c410549af37c2a0f69cc3333e806ac /include/math-emu
parentdrivers/base/memory: determine and store zone for single-zone memory blocks (diff)
downloadlinux-2aa065f7afb28aabb475cc27f24cb18c5141173d.tar.xz
linux-2aa065f7afb28aabb475cc27f24cb18c5141173d.zip
drivers/base/memory: clarify adding and removing of memory blocks
Let's make it clearer at which places we actually add and remove memory blocks -- streamlining the terminology -- and highlight which memory block start out online and which start out as offline. * rename add_memory_block -> add_boot_memory_block * rename init_memory_block -> add_memory_block * rename unregister_memory -> remove_memory_block * rename register_memory -> __add_memory_block * add add_hotplug_memory_block * mark add_boot_memory_block with __init (suggested by Oscar) __add_memory_block() is a pure helper for add_memory_block(), remove the somewhat obvious comment. Link: https://lkml.kernel.org/r/20220221154531.11382-1-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Cc: "Rafael J. Wysocki" <rafael@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions