[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151231.144347.54643465516219979.davem@davemloft.net>
Date: Thu, 31 Dec 2015 14:43:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org, arnd@...db.de,
linux-arch@...r.kernel.org, andrew.cooper3@...rix.com,
virtualization@...ts.linux-foundation.org,
stefano.stabellini@...citrix.com, tglx@...utronix.de,
mingo@...e.hu, hpa@...or.com, linux-ia64@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-s390@...r.kernel.org,
sparclinux@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-metag@...r.kernel.org, linux-mips@...ux-mips.org,
x86@...nel.org, user-mode-linux-devel@...ts.sourceforge.net,
adi-buildroot-devel@...ts.sourceforge.net,
linux-sh@...r.kernel.org, linux-xtensa@...ux-xtensa.org,
xen-devel@...ts.xenproject.org, mingo@...nel.org,
ralf@...ux-mips.org, andreyknvl@...gle.com
Subject: Re: [PATCH v2 07/32] sparc: reuse asm-generic/barrier.h
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Thu, 31 Dec 2015 21:06:38 +0200
> On sparc 64 bit dma_rmb, dma_wmb, smp_store_mb, smp_mb, smp_rmb,
> smp_wmb, read_barrier_depends and smp_read_barrier_depends match the
> asm-generic variants exactly. Drop the local definitions and pull in
> asm-generic/barrier.h instead.
>
> nop uses __asm__ __volatile but is otherwise identical to
> the generic version, drop that as well.
>
> This is in preparation to refactoring this code area.
>
> Note: nop() was in processor.h and not in barrier.h as on other
> architectures. Nothing seems to depend on it being there though.
>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
> Acked-by: Arnd Bergmann <arnd@...db.de>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists