aboutsummaryrefslogtreecommitdiff
path: root/editors/emacs/files/patch-src:alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/files/patch-src:alloc.c')
-rw-r--r--editors/emacs/files/patch-src:alloc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/emacs/files/patch-src:alloc.c b/editors/emacs/files/patch-src:alloc.c
new file mode 100644
index 000000000000..0ae9270b0d1f
--- /dev/null
+++ b/editors/emacs/files/patch-src:alloc.c
@@ -0,0 +1,14 @@
+--- src/alloc.c.orig Thu Sep 12 13:50:01 2002
++++ src/alloc.c Thu Sep 12 13:48:11 2002
+@@ -3723,7 +3723,11 @@
+ /* This trick flushes the register windows so that all the state of
+ the process is contained in the stack. */
+ #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