Commit 963819eb authored by David S. Miller's avatar David S. Miller

[SPARC64]: Need flush_tlb_pending() in switch_to().

Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 121f0a4e
...@@ -175,6 +175,7 @@ do { if (test_thread_flag(TIF_PERFCTR)) { \ ...@@ -175,6 +175,7 @@ do { if (test_thread_flag(TIF_PERFCTR)) { \
current_thread_info()->kernel_cntd0 += (unsigned int)(__tmp);\ current_thread_info()->kernel_cntd0 += (unsigned int)(__tmp);\
current_thread_info()->kernel_cntd1 += ((__tmp) >> 32); \ current_thread_info()->kernel_cntd1 += ((__tmp) >> 32); \
} \ } \
flush_tlb_pending(); \
save_and_clear_fpu(); \ save_and_clear_fpu(); \
/* If you are tempted to conditionalize the following */ \ /* If you are tempted to conditionalize the following */ \
/* so that ASI is only written if it changes, think again. */ \ /* so that ASI is only written if it changes, think again. */ \
......
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