arch,mips: Convert smp_mb__*()
authorPeter Zijlstra <[email protected]>
Thu, 13 Mar 2014 18:00:36 +0000 (19:00 +0100)
committerIngo Molnar <[email protected]>
Fri, 18 Apr 2014 12:20:38 +0000 (14:20 +0200)
commit91bbefe6b0fcd2968c34a5a566bda870477afc82
tree47dafcecaefe7838ab8aea458bd85fde3131b453
parent40074dece684fc61ab72cfc1689d564cba1c5f64
arch,mips: Convert smp_mb__*()

MIPS is interesting and has hardware variants that reorder over ll/sc
as well as those that do not.

Implement the 2 new barrier functions as per the old barriers.

Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Cc: Linus Torvalds <[email protected]>
Cc: Maciej W. Rozycki" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/mips/include/asm/atomic.h
arch/mips/include/asm/barrier.h
arch/mips/include/asm/bitops.h
arch/mips/kernel/irq.c