summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJoonsoo Kim <js1304@gmail.com>2012-12-12 21:50:43 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-13 01:38:31 (GMT)
commit3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf (patch)
treeb05abd7ad979dc4060c5e89e4078aa827e7efe82 /crypto
parent2d7a695604556913d9ef1ead47881b804d6c52b4 (diff)
downloadlinux-fsl-qoriq-3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf.tar.xz
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 <js1304@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions