MIPS: barrier: Clean up sync_ginv()
authorPaul Burton <paul.burton@mips.com>
Tue, 1 Oct 2019 21:53:14 +0000 (21:53 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:42:24 +0000 (09:42 -0700)
commit185d7d7a58194e3784e8dc2898756065f974090a
treebaf9d1cbdd3d2b4137cbd201d6b15f048f412ffc
parentfe0065e56227a2f6a6ad717c6d8d871263e482a8
MIPS: barrier: Clean up sync_ginv()

Use the new __SYNC() infrastructure to implement sync_ginv(), for
consistency with much of the rest of the asm/barrier.h.

Signed-off-by: Paul 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
arch/mips/include/asm/barrier.h