Restartable sequences: don't clear rseq_cs after c.s.
[deliverable/linux.git] / tools / testing / selftests / rseq / rseq-ppc.h
index 287ab75ca77b3fad7c4339d0e790e21e4d71ae99..29498b559d663ac74b5227392a39e7f5245c305e 100644 (file)
@@ -86,13 +86,9 @@ do {                                                                 \
                _final_store \
                "2:\n\t" \
                RSEQ_INJECT_ASM(5) \
-               "li %%r17, 0\n\t" \
-               "std %%r17, 0(%[rseq_cs])\n\t" \
                _teardown \
                "b 5f\n\t" \
                "4:\n\t" \
-               "li %%r17, 0\n\t" \
-               "std %%r17, 0(%[rseq_cs])\n\t" \
                _teardown \
                "b %l[failure]\n\t" \
                "5:\n\t" \
@@ -192,13 +188,9 @@ do {                                                                       \
                _final_store \
                "2:\n\t" \
                RSEQ_INJECT_ASM(5) \
-               "li %%r17, 0\n\t" \
-               "stw %%r17, 0(%[rseq_cs])\n\t" \
                _teardown \
                "b 5f\n\t" \
                "4:\n\t" \
-               "li %%r17, 0\n\t" \
-               "stw %%r17, 0(%[rseq_cs])\n\t" \
                _teardown \
                "b %l[failure]\n\t" \
                "5:\n\t" \
This page took 0.02389 seconds and 5 git commands to generate.