From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Sun, 30 Aug 2015 15:30:15 -0500 Subject: [U-Boot] [PATCH] Move malloc_cache_aligned() to malloc.h In-Reply-To: <1440966476.4662.2.camel@toradex.com> References: <1440860082-20128-1-git-send-email-sjg@chromium.org> <1440966476.4662.2.camel@toradex.com> Message-ID: <1440966615.4966.30.camel@freescale.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 Sun, 2015-08-30 at 20:28 +0000, Marcel Ziswiler wrote: > 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/ Maybe all the cache alignment stuff could go in its own header? -Scott