]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/um: reuse asm-generic/barrier.h
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 21 Dec 2015 07:22:18 +0000 (09:22 +0200)
committerJiri Slaby <jslaby@suse.cz>
Tue, 8 Nov 2016 15:38:11 +0000 (16:38 +0100)
commitc70798ffa483ee124468af4b189b455faa1cbffc
treeb88c3d14a02aa376ecb9aeba0d7567a27cde77e4
parentafe98b3b0e72a1238d8ef394195f3ce5aff27e05
x86/um: reuse asm-generic/barrier.h

commit 577f183acc88645eae116326cc2203dc88ea730c upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/x86/um/asm/barrier.h