• Paul Burton's avatar
    MIPS: barrier: Clean up __smp_mb() definition · 05e6da74
    Paul Burton authored
    We #ifdef on Cavium Octeon CPUs, but emit the same sync instruction in
    both cases. Remove the #ifdef & simply expand to the __sync() macro.
    
    Whilst here indent the strong ordering case definitions to match the
    indentation of the weak ordering ones, helping readability.
    Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
    Cc: linux-mips@vger.kernel.org
    Cc: Huacai Chen <chenhc@lemote.com>
    Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
    Cc: linux-kernel@vger.kernel.org
    05e6da74
barrier.h 5.1 KB