[PATCH v2 20/32] metag: define __smp_xxx

Peter Zijlstra peterz at infradead.org
Mon Jan 4 05:41:28 PST 2016


On Thu, Dec 31, 2015 at 09:08:22PM +0200, Michael S. Tsirkin wrote:
> +#ifdef CONFIG_SMP
> +#define fence() metag_fence()
> +#else
> +#define fence()		do { } while (0)
>  #endif

James, it strikes me as odd that fence() is a no-op instead of a
barrier() for UP, can you verify/explain?



More information about the linux-arm-kernel mailing list