]> git.baikalelectronics.ru Git - kernel.git/commit
x86: reuse asm-generic/barrier.h
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 21 Dec 2015 07:22:18 +0000 (09:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jan 2016 18:46:52 +0000 (20:46 +0200)
commit951e2fa04ce3902292df6a3db29702b26dce0dea
tree32f77a1e30af1f54cbbccb74a7c5f8c9cfc5a904
parenta7ccaafe41e0f65bfc920dcdee48670594dfae44
x86: reuse asm-generic/barrier.h

As on most architectures, on x86 read_barrier_depends and
smp_read_barrier_depends are empty.  Drop the local definitions and pull
the generic ones from asm-generic/barrier.h instead: they are identical.

This is in preparation to refactoring this code area.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/barrier.h