commit | ebc3328cccc2bc7968fbd179e8e30fa1282b391a | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Mon Jul 13 13:17:06 2015 +0900 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 22 07:30:39 2015 -0600 |
tree | c8879120903b9dc30fdf447a51f739c9fac3ff34 | |
parent | 3721eaf28e5e074bebf8191e37dacbd75ffc459d [diff] |
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>