On Mon, May 23, 2011 at 7:25 PM, Mike Frysinger <vap...@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) { /* please define arch specific flush_icache */ puts("No arch specific flush_icache available!\n"); } I seem to require separate declaration and definition for this to work.... however the alias is not required. -M _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot