[U-Boot] [PATCH v2 03/14] linux_compat: move vzalloc() to header file as an inline function

Simon Glass
2015-07-22T23:24:52Z

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!