
23 Jul
2015
23 Jul
'15
1:24 a.m.
On 12 July 2015 at 22:17, Masahiro Yamada yamada.masahiro@socionext.com wrote:
The vzalloc(size) is equivalent to kzalloc(size, 0). Move it to include/linux/compat.h as an inline function in order to avoid the function call overhead.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com Reviewed-by: Heiko Schocher hs@denx.de Acked-by: Simon Glass sjg@chromium.org
Changes in v2: None
include/linux/compat.h | 6 ++++-- lib/linux_compat.c | 5 ----- 2 files changed, 4 insertions(+), 7 deletions(-)
Applied to u-boot-dm, thanks!