Commit 588edddc authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix branch prediction in switch_to().

parent 583953a5
...@@ -205,7 +205,7 @@ do { if (test_thread_flag(TIF_PERFCTR)) { \ ...@@ -205,7 +205,7 @@ do { if (test_thread_flag(TIF_PERFCTR)) { \
"ldx [%%g6 + %7], %%g4\n\t" \ "ldx [%%g6 + %7], %%g4\n\t" \
"wrpr %%g0, 0x96, %%pstate\n\t" \ "wrpr %%g0, 0x96, %%pstate\n\t" \
"andcc %%o7, %6, %%g0\n\t" \ "andcc %%o7, %6, %%g0\n\t" \
"beq,pn %%icc, 1f\n\t" \ "beq,pt %%icc, 1f\n\t" \
" mov %%g5, %0\n\t" \ " mov %%g5, %0\n\t" \
"b,a ret_from_syscall\n\t" \ "b,a ret_from_syscall\n\t" \
"1:\n\t" \ "1:\n\t" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment