aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rcu-slist.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-20 11:38:28 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2020-02-22 08:26:47 +0000
commit8c3570e33954d26675ec6fd224ede02763dfbd1d (patch)
tree2ef7b13045dcc6a597bbbcb607d4a3ec30600282 /tests/test-rcu-slist.c
parentf25c0b547916962d0b1be260b5b643287bea0851 (diff)
rcu_queue: add QSLIST functions
QSLIST is the only family of lists for which we do not have RCU-friendly accessors, add them. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20200220103828.24525-1-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/test-rcu-slist.c')
-rw-r--r--tests/test-rcu-slist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-rcu-slist.c b/tests/test-rcu-slist.c
new file mode 100644
index 0000000000..868e1e472e
--- /dev/null
+++ b/tests/test-rcu-slist.c
@@ -0,0 +1,2 @@
+#define TEST_LIST_TYPE 4
+#include "test-rcu-list.c"