summaryrefslogtreecommitdiff
path: root/tools/virtio/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio/asm/barrier.h')
-rw-r--r--tools/virtio/asm/barrier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/virtio/asm/barrier.h b/tools/virtio/asm/barrier.h
index ba34f9e96efd..0ac3caf90877 100644
--- a/tools/virtio/asm/barrier.h
+++ b/tools/virtio/asm/barrier.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#if defined(__i386__) || defined(__x86_64__)
#define barrier() asm volatile("" ::: "memory")
#define virt_mb() __sync_synchronize()