aboutsummaryrefslogtreecommitdiff
path: root/editors/emacs23/files/patch-src:alloc.c
blob: 0ae9270b0d1f74ba9d5e53499ac62ccd18bc1a2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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