On Thu, Dec 08, 2011 at 09:09:33PM +1030, Rusty Russell wrote:
> +/* There is no iowrite64.  We use two 32-bit ops. */
> +static void iowrite64(u64 val, const __le64 *addr)
> +{
> +     iowrite32((u32)val, (__le32 *)addr);
> +     iowrite32(val >> 32, (__le32 *)addr + 1);
> +}
> +

Let's put addr_lo/addr_hi in the structure then,
to make the fact this field is not atomic explicit?
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to