From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Ziswiler Date: Sun, 30 Aug 2015 20:28:03 +0000 Subject: [U-Boot] [PATCH] Move malloc_cache_aligned() to malloc.h In-Reply-To: <1440860082-20128-1-git-send-email-sjg@chromium.org> References: <1440860082-20128-1-git-send-email-sjg@chromium.org> Message-ID: <1440966476.4662.2.camel@toradex.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2015-08-29 at 14:54 +0000, Simon Glass wrote: > 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 malloc.h so that this can be avoided. Hm, but we've been there before: https://patchwork.ozlabs.org/patch/503291/