Home
last modified time | relevance | path

Searched hist:ebc3328c (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/lib/
H A Dlinux_compat.cebc3328c Sun Jul 12 23:17:06 CDT 2015 Masahiro Yamada <yamada.masahiro@socionext.com> linux_compat: move vzalloc() to header file as an inline function

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>
/openbmc/u-boot/include/linux/
H A Dcompat.hebc3328c Sun Jul 12 23:17:06 CDT 2015 Masahiro Yamada <yamada.masahiro@socionext.com> linux_compat: move vzalloc() to header file as an inline function

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>