commit | c537347233168a3efd02e52b01a92e40b93f8092 | [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 | 34d20f8ae74d72976820bae2b766ca839ef5fc4c [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>