summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-07 05:16:32 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-07 05:16:32 +0000
commit1c19abfab967132315eceae11a8f9e87362a527b (patch)
tree0fb9aedc60144cf739ecaf0b65f1c4f4e8349f8c /defines.h
parent751bb3cc1504049af8315cb655d2ad1c716a0fb1 (diff)
* include/ruby/defines.h (flush_register_windows): call "ta 0x03"
even on Linux/Sparc. [ruby-dev:31674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/defines.h b/defines.h
index d8c3299..ef80989 100644
--- a/defines.h
+++ b/defines.h
@@ -218,9 +218,7 @@ flush_register_windows(void)
#endif
# if defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__)
("flushw")
-# elif defined(linux) || defined(__linux__)
- ("ta 0x83")
-# else /* Solaris, OpenBSD, NetBSD, etc. */
+# else
("ta 0x03")
# endif /* trap always to flush register windows if we are on a Sparc system */
;