x86/um: 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:51 +0000 (20:46 +0200)
commit577f183acc88645eae116326cc2203dc88ea730c
tree286db8d51fd80f40f881846f3e5280adacc08e5c
parentfa083e28f89a78b95ba8b7da86db40c13c60e95d
x86/um: reuse asm-generic/barrier.h

On x86/um CONFIG_SMP is never defined.  As a result, several macros
match the asm-generic variant exactly. Drop the local definitions and
pull in asm-generic/barrier.h instead.

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: Richard Weinberger <richard@nod.at>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/x86/um/asm/barrier.h