From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 29 Aug 2011 18:01:37 -0500 Subject: [U-Boot] [PATCH] mmc:dcache: Cache line size aligned internal MMC buffers In-Reply-To: References: <1313745913-28672-1-git-send-email-l.majewski@samsung.com> <201108231732.39791.vapier@gentoo.org> <20110823224246.7F11411F9E62@gemini.denx.de> <201108232301.01270.vapier@gentoo.org> <20110824120744.097ba2c5@lmajewski.digital.local> <20110824132553.A5F2C11F9E76@gemini.denx.de> <20110824181252.CAB9E11F9E76@gemini.denx.de> <20110824211812.1e9f039c@mig> <4E5BFADE.9000200@freescale.com> <4E5C033C.9090808@freescale.com> <4E5C0CB3.6050201@freescale.com> Message-ID: <4E5C1A51.8050407@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 08/29/2011 05:49 PM, Anton Staaf wrote: >>>> How do you make the declaration static? >>> >>> you can't with this version of the macro. Are there cases where you >>> need the buffer to be static? >> >> I think you'd want it to be static more often than not. > > If the buffer is allocated at file scope, then yes, we would want it > to be static. But not at function scope. It would no longer be > allocated on the stack in that case, and that was frowned upon > earlier. Ah, that's the issue. I was trying to declare it at file scope. :-P -Scott