uboot/lib
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
..
bzip2
dhry Add a dhrystone benchmark command 2015-07-21 17:39:19 -06:00
libfdt fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
lzma lzma: fix buffer bound check error further 2015-01-14 11:35:43 -05:00
lzo
rsa
tizen
zlib
Kconfig Add a dhrystone benchmark command 2015-07-21 17:39:19 -06:00
Makefile Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
addr_map.c
aes.c
asm-offsets.c lib/asm-offsets - make GD_RELOCADDR, GD_RELOC_OFF & GD_START_ADDR_SP available for all architectures 2015-03-05 20:50:28 -05:00
bch.c
bitrev.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
circbuf.c
crc7.c
crc8.c
crc16.c
crc32.c
ctype.c
display_options.c sandbox: Fix warning in display_options 2015-05-14 18:49:35 -06:00
div64.c
errno.c
errno_str.c
fdtdec.c fdt: Provide debug info when a device tree cannot be found 2015-07-21 17:39:28 -06:00
fdtdec_common.c lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c 2014-06-23 09:11:30 -04:00
fdtdec_test.c
gunzip.c gunzip: add gzwrite routine for extracting compresed images to block device 2015-04-22 12:14:55 -04:00
gzip.c
hang.c
hashtable.c
initcall.c
ldiv.c
linux_compat.c linux_compat: handle __GFP_ZERO in kmalloc() 2015-07-22 07:30:44 -06:00
linux_string.c
list_sort.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
lmb.c
md5.c
net_utils.c net: cosmetic: Change IPaddr_t to struct in_addr 2015-04-18 11:11:32 -06:00
physmem.c
qsort.c
rand.c
rbtree.c
rc4.c Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
sha1.c
sha256.c
slre.c
string.c
strmhz.c
time.c Use uint64_t for time types 2014-10-27 11:04:01 -04:00
tpm.c
trace.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
uuid.c
vsprintf.c lib: Add function to extract a number from the end of a string 2015-07-21 17:39:28 -06:00