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

Simon Glass sjg at chromium.org
Thu Jul 23 01:24:52 CEST 2015


On 12 July 2015 at 22:17, Masahiro Yamada <yamada.masahiro at 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 at socionext.com>
> Reviewed-by: Heiko Schocher <hs at denx.de>
> Acked-by: Simon Glass <sjg at 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!


More information about the U-Boot mailing list