]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARC: cpu_relax() to be compiler barrier even for UP
authorVineet Gupta <vgupta@synopsys.com>
Mon, 9 Nov 2015 12:18:34 +0000 (17:48 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 14 Nov 2015 07:42:30 +0000 (13:12 +0530)
commit1cfc05cbe2c9757c6cc36804df96e3ed28e940a1
treec9567d20752208af3678b3276bc3dac72706d0ab
parenta6416f57ce57fb390b6ee30b12c01c29032a26af
ARC: cpu_relax() to be compiler barrier even for UP

cpu_relax() on ARC has been barrier only for SMP (and no-op for UP). Per
recent discussions, it is safer to make it a compiler barrier
unconditionally.

Link: http://lkml.kernel.org/r/53A7D3AA.9020100@synopsys.com
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/processor.h