From: Joonsoo Kim Date: Wed, 12 Dec 2012 21:50:43 +0000 (-0800) Subject: bootmem: remove alloc_arch_preferred_bootmem() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~33^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf;p=pandora-kernel.git bootmem: remove alloc_arch_preferred_bootmem() The name of this function is not suitable, and removing the function and open-coding it into each call sites makes the code more understandable. Additionally, we shouldn't do an allocation from bootmem when slab_is_available(), so directly return kmalloc()'s return value. Signed-off-by: Joonsoo Kim Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt Cc: Johannes Weiner Cc: FUJITA Tomonori Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed