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