Re: [kvm-unit-tests PATCH v10 12/12] ppc64: Introduce lib/ppc64/asm/barrier.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 13/06/2016 16:04, Andrew Jones wrote:
> Using the generic ones is good enough for ppc64 for now,
> since it doesn't use them. As soon as it's necessary to have
> proper barriers, then lib/ppc64/asm/barrier.h should be
> updated to stop including this, and to define their own.
> 
> Actually we could drop the ppc64 barrier.h patch for now,
> but that relies on the compiler not generating unused code,
> otherwise including asm-generic/io.h would break compilation.

Currently the sole users of the barriers are in macros, and you can be
pretty sure that the compiler will not complain about unused macros. :)

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux