From: Andrew Morton Date: Fri, 3 Jan 2014 03:09:53 +0000 (+1100) Subject: mm-memblock-add-memblock-memory-allocation-apis-fix X-Git-Tag: next-20140106~2^2~195 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a9b92efa468af985750f7d590b9ed43406a9d069;p=karo-tx-linux.git mm-memblock-add-memblock-memory-allocation-apis-fix s/depricated/deprecated/ Cc: "Rafael J. Wysocki" Cc: Arnd Bergmann Cc: Christoph Lameter Cc: Greg Kroah-Hartman Cc: Grygorii Strashko Cc: H. Peter Anvin Cc: Johannes Weiner Cc: KAMEZAWA Hiroyuki Cc: Konrad Rzeszutek Wilk Cc: Michal Hocko Cc: Paul Walmsley Cc: Pavel Machek Cc: Russell King Cc: Santosh Shilimkar Cc: Tejun Heo Cc: Tony Lindgren Cc: Yinghai Lu Signed-off-by: Andrew Morton --- diff --git a/mm/memblock.c b/mm/memblock.c index 087a32df2437..9c58ff106d45 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -788,7 +788,7 @@ void __init_memblock __next_free_mem_range(u64 *idx, int nid, bool check_node = (nid != NUMA_NO_NODE) && (nid != MAX_NUMNODES); if (nid == MAX_NUMNODES) - pr_warn_once("%s: Usage of MAX_NUMNODES is depricated. Use NUMA_NO_NODE instead\n", + pr_warn_once("%s: Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead\n", __func__); for ( ; mi < mem->cnt; mi++) { @@ -861,7 +861,7 @@ void __init_memblock __next_free_mem_range_rev(u64 *idx, int nid, bool check_node = (nid != NUMA_NO_NODE) && (nid != MAX_NUMNODES); if (nid == MAX_NUMNODES) - pr_warn_once("%s: Usage of MAX_NUMNODES is depricated. Use NUMA_NO_NODE instead\n", + pr_warn_once("%s: Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead\n", __func__); if (*idx == (u64)ULLONG_MAX) { @@ -1068,7 +1068,7 @@ static void * __init memblock_virt_alloc_internal( void *ptr; if (nid == MAX_NUMNODES) - pr_warn("%s: usage of MAX_NUMNODES is depricated. Use NUMA_NO_NODE\n", + pr_warn("%s: usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE\n", __func__); if (WARN_ON_ONCE(slab_is_available()))