uboot/include/linux
Masahiro Yamada 6b9f9eadff linux_compat: handle __GFP_ZERO in kmalloc()
Currently, kzalloc() returns zero-filled memory, while kmalloc()
simply ignores the second argument and never fills the memory
area with zeros.

I want kmalloc(size, __GFP_ZERO) to behave as kzalloc() does,
which will make it easier to add more memory allocator variants.

With the introduction of __GFP_ZERO flag, going forward, kzmalloc()
variants can fall back to kmalloc() enabling the __GFP_ZERO flag.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
2015-07-22 07:30:44 -06:00
..
byteorder
mtd mtd: fix false positive "Offset exceeds device limit" error 2015-07-10 09:38:50 -04:00
unaligned
usb dm: usb: Add a generic descriptor struct 2015-04-18 11:11:29 -06:00
apm_bios.h
bch.h
bitops.h
bitrev.h
compat.h linux_compat: handle __GFP_ZERO in kmalloc() 2015-07-22 07:30:44 -06:00
compiler-clang.h
compiler-gcc.h
compiler-gcc3.h
compiler-gcc4.h
compiler-gcc5.h
compiler-intel.h
compiler.h
crc7.h
crc8.h
crc32.h
ctype.h
drm_dp_helper.h tegra124: video: Add full link training for eDP 2015-05-13 09:24:12 -07:00
edd.h
err.h
ethtool.h
fb.h
immap_qe.h QE/DeepSleep: add QE deepsleep support for mpc85xx 2015-04-21 10:19:19 -07:00
input.h
io.h include: introduce include/linux/io.h as a wrapper of asm/io.h 2015-05-28 08:18:19 -04:00
ioctl.h
ioport.h
kbuild.h
kconfig.h
kernel.h
linkage.h
linux_string.h
list.h
list_sort.h
lzo.h
math64.h
mbus.h
mc146818rtc.h
mdio.h
mii.h
netdevice.h
poison.h
posix_types.h
rbtree.h
rbtree_augmented.h
screen_info.h
serial_reg.h
sizes.h
stat.h
stddef.h
string.h
stringify.h
time.h
types.h