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.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/emacs22/files/patch-src__alloc.c b/editors/emacs22/files/patch-src__alloc.c
new file mode 100644
index 000000000000..b295275127d5
--- /dev/null
+++ b/editors/emacs22/files/patch-src__alloc.c
@@ -0,0 +1,14 @@
+--- ./src/alloc.c.orig Thu Aug 31 20:50:29 2006
++++ ./src/alloc.c Fri Sep 1 21:10:08 2006
+@@ -4560,7 +4560,11 @@
+ 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