Inline Assembly queries

David Howells dhowells at redhat.com
Tue Jun 30 01:57:16 EST 2009


kernel mailz <kernelmailz at googlemail.com> wrote:

> asm("sync");

Isn't gcc free to discard this as it has no dependencies, no indicated side
effects, and isn't required to be kept?  I think this should probably be:

	asm volatile("sync");

David


More information about the Linuxppc-dev mailing list