1
0
Fork 0
remarkable-uboot/fs
Simon Glass 6e295186c7 Move malloc_cache_aligned() to its own header
At present malloc.h is included everywhere since it recently was added to
common.h in this commit:

   4519668 mtd/nand/ubi: assortment of alignment fixes

This seems wasteful and unnecessary. We have been trying to trim down
common.h and put separate functions into separate header files and that
change goes in the opposite direction.

Move malloc_cache_aligned() to a new header so that this can be avoided.
The header would perhaps be better named as alignmem.h but it needs to be
included after common.h and people might be confused by this. With the name
memalign.h it fits nicely after malloc() in most cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-09-11 17:15:16 -04:00
..
cbfs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
cramfs kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
ext4 fs: ext4 write: return file len on success 2015-03-05 20:49:42 -05:00
fat fat: handle paths that include ../ 2015-09-11 14:05:33 -04:00
jffs2 JFFS2: Use merge sort when parsing filesystem 2015-08-12 20:47:32 -04:00
reiserfs kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
sandbox sandbox: only do sandboxfs for hostfs interface 2015-04-19 14:45:56 -06:00
ubifs Move malloc_cache_aligned() to its own header 2015-09-11 17:15:16 -04:00
yaffs2 lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
zfs ZFS: Clean up cppcheck warnings where relevant, leaked memory etc 2014-11-10 16:25:27 -05:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile spl: Add EXT support to SPL 2014-10-27 17:54:03 -04:00
fs.c fs/fs.c: read up to EOF when len would read past EOF 2015-08-13 07:19:35 -04:00