Thread (85 messages) 85 messages, 12 authors, 2016-01-11

Re: [PATCH v2 20/32] metag: define __smp_xxx

From: Peter Zijlstra <peterz@infradead.org>
Date: 2016-01-04 13:41:54
Also in: linux-arch, linux-arm-kernel, linux-mips, linux-s390, linux-sh, linux-um, lkml, sparclinux, virtualization

On Thu, Dec 31, 2015 at 09:08:22PM +0200, Michael S. Tsirkin wrote:
quoted hunk ↗ jump to hunk
+#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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help