On 09/01/2011 08:09 AM, David Gibson wrote:
The patch defines wmb() as __sync_synchronize(), a cross platform memory
barrier primitive available in sufficiently recent gcc versions (gcc 4.2
and after?).  If we care about older gccs then this patch will need to
be updated with some sort of fallback.

Yes, though RHEL5's 4.1 has it backported.

Signed-off-by: Alexey Kardashevskiy<a...@ozlabs.ru>
Signed-off-by: David Gibson<da...@gibson.dropbear.id.au>

It will most definitely break OpenBSD, but anyway:

Acked-by: Paolo Bonzini <pbonz...@redhat.com>

Paolo

Reply via email to