Update to follow cpu-opv uapi
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 27 Oct 2018 23:33:53 +0000 (19:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 27 Oct 2018 23:33:53 +0000 (19:33 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/cpu-op.c

index 60c33c10b2c64a8f15d1fcc4f1e448f2f0b87b00..c8440c943e378493a61a9347ddda76e11521aeff 100644 (file)
@@ -237,10 +237,7 @@ int cpu_op_cmpeqv_storev_mb_storev(intptr_t *v, intptr_t expect,
                        .u.memcpy_op.expect_fault_src = 0,
                },
                [2] = {
-                       .op = CPU_MB_OP,
-               },
-               [3] = {
-                       .op = CPU_MEMCPY_OP,
+                       .op = CPU_MEMCPY_RELEASE_OP,
                        .len = sizeof(intptr_t),
                        .u.memcpy_op.dst = (unsigned long)v,
                        .u.memcpy_op.src = (unsigned long)&newv,
@@ -342,10 +339,7 @@ int cpu_op_cmpeqv_memcpy_mb_storev(intptr_t *v, intptr_t expect,
                        .u.memcpy_op.expect_fault_src = 0,
                },
                [2] = {
-                       .op = CPU_MB_OP,
-               },
-               [3] = {
-                       .op = CPU_MEMCPY_OP,
+                       .op = CPU_MEMCPY_RELEASE_OP,
                        .len = sizeof(intptr_t),
                        .u.memcpy_op.dst = (unsigned long)v,
                        .u.memcpy_op.src = (unsigned long)&newv,
This page took 0.027032 seconds and 4 git commands to generate.