[U-Boot-Users] [PATCH0/2] Re-do the patch for adding DO_SYNC in flash_write_cmd

Timur Tabi
2007-02-11T02:34:09Z

Stefan Roese wrote:

> Why not use
>
> #define sync() __asm__ __volatile__ ("sync" : : : "memory");

I like this idea, but is that semicolon supposed to be there? Shouldn't
we make it an inline function instead of a macro?