summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-02-15 00:09:12 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-02-15 00:09:12 +0000
commit26d3b9573d1093c62d6e304591e8cf59148cc333 (patch)
tree2e7ea8c640dbc0e813a16e737c5f58ede665bdb2
parent95cb4ec8f0805dbf26a6949fde19cbd054e43db0 (diff)
memblock-update-comments-and-kernel-doc-fix
fix copy-n-paste error Cc: Jonathan Corbet <corbet@lwn.net> Cc: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/memblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index 900c95b41637..81a0127fb858 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -1414,7 +1414,7 @@ phys_addr_t __init memblock_phys_alloc_range(phys_addr_t size,
}
/**
- * memblock_phys_alloc_range - allocate a memory block from specified MUMA node
+ * memblock_phys_alloc_try_nid - allocate a memory block from specified MUMA node
* @size: size of memory block to be allocated in bytes
* @align: alignment of the region and block's size
* @nid: nid of the free area to find, %NUMA_NO_NODE for any node