commit | 57f7c0370f386d5e0960e25d2c3ceb0b8e8c489d | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Dec 27 14:10:52 2015 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Jan 12 20:46:46 2016 +0200 |
tree | 67ca06dd81773d44151edf8a0b6a56d29bedef6a | |
parent | 5a1b26d7c629915446222ebe77d16567c98426ff [diff] |
asm-generic: guard smp_store_release/load_acquire Allow architectures to override smp_store_release and smp_load_acquire by guarding the defines in asm-generic/barrier.h with ifndef directives. This is in preparation to reusing asm-generic/barrier.h on architectures which have their own definition of these macros. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>