summaryrefslogtreecommitdiff
path: root/editors/emacs22/files/patch-src__alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs22/files/patch-src__alloc.c')
-rw-r--r--editors/emacs22/files/patch-src__alloc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/emacs22/files/patch-src__alloc.c b/editors/emacs22/files/patch-src__alloc.c
index e69de29bb2d1..80c226b6f778 100644
--- a/editors/emacs22/files/patch-src__alloc.c
+++ b/editors/emacs22/files/patch-src__alloc.c
@@ -0,0 +1,15 @@
+--- src/alloc.c.orig 2008-09-07 05:25:27.000000000 +0300
++++ src/alloc.c 2008-09-07 05:25:27.000000000 +0300
+@@ -4573,8 +4573,12 @@
+ needed on ia64 too. See mach_dep.c, where it also says inline
+ assembler doesn't work with relevant proprietary compilers. */
+ #ifdef __sparc__
++#ifdef __sparc64__
++ asm ("flushw");
++#else
+ asm ("ta 3");
+ #endif
++#endif
+
+ /* Save registers that we need to see on the stack. We need to see
+ registers used to hold register variables and registers used to