From: Paul Burton Date: Tue, 1 Oct 2019 21:53:14 +0000 (+0000) Subject: MIPS: barrier: Clean up sync_ginv() X-Git-Tag: v5.10.7~3549^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=185d7d7a58194e3784e8dc2898756065f974090a;p=platform%2Fkernel%2Flinux-rpi.git 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 Cc: linux-mips@vger.kernel.org Cc: Huacai Chen Cc: Jiaxun Yang Cc: linux-kernel@vger.kernel.org --- diff --git a/arch/mips/include/asm/barrier.h b/arch/mips/include/asm/barrier.h index a117c6d..c7e05e8 100644 --- a/arch/mips/include/asm/barrier.h +++ b/arch/mips/include/asm/barrier.h @@ -163,7 +163,7 @@ static inline void wmb(void) static inline void sync_ginv(void) { - asm volatile("sync\t%0" :: "i"(__SYNC_ginv)); + asm volatile(__SYNC(ginv, always)); } #include