Skip to content

Commit

Permalink
Merge pull request #78 from Infinidat/master
Browse files Browse the repository at this point in the history
Revert "Sparc: use the FLUSHW instruction when available"
  • Loading branch information
snaury committed Apr 27, 2015
2 parents 1f0e203 + c6c1bb2 commit 7ecc2f1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions platform/switch_sparc_sun_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@ slp_switch(void)
*
* Then put the stack pointer into stackref. */
__asm__ volatile (
#ifdef __sparcv9
"flushw\n\t"
#else
"ta %1\n\t"
#endif
"mov %%sp, %0"
: "=r" (stackref) : "i" (ST_FLUSH_WINDOWS));

Expand Down

0 comments on commit 7ecc2f1

Please sign in to comment.