diff options
| author | Joonsoo Kim <[email protected]> | 2012-12-12 13:50:43 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-12 17:38:31 -0800 |
| commit | 3f7dfe24b84c0ad698c461fc9c4ba3544bbfcebf (patch) | |
| tree | b05abd7ad979dc4060c5e89e4078aa827e7efe82 /tools/perf/scripts/python/bin | |
| parent | 2d7a695604556913d9ef1ead47881b804d6c52b4 (diff) | |
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 <[email protected]>
Cc: Haavard Skinnemoen <[email protected]>
Cc: Hans-Christian Egtvedt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: FUJITA Tomonori <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions