[U-Boot] [PATCH 1/2] command/cmd_cache.c: Add optional flush arguments

Mike Frysinger vapier at gentoo.org
Tue May 24 20:23:53 CEST 2011


On Tuesday, May 24, 2011 11:06:03 McClintock Matthew-B29882 wrote:
> On Mon, May 23, 2011 at 7:25 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> > void __weak flush_icache(void)
> > {
> >        /* please define arch specific flush_icache */
> >        puts("No arch specific flush_icache available!\n");
> > }
> 
> This syntax does not quite work for me... how about something like:
> 
> void flush_icache(void) __attribute__((weak));
> void flush_icache(void)

now, that's exactly what i do not want.  i'm guessing you simply did not 
include linux/compiler.h and so was missing the __weak define.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110524/3c7d2dc4/attachment.pgp 


More information about the U-Boot mailing list