]> git.eshelyaron.com Git - emacs.git/commitdiff
(mark_stack): Use "flushw" instead of "ta 3" assembly call for
authorChong Yidong <cyd@stupidchicken.com>
Fri, 23 Jan 2009 04:38:18 +0000 (04:38 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 23 Jan 2009 04:38:18 +0000 (04:38 +0000)
Sparc64.

src/alloc.c

index 90c743a5d38f14aabdbaae476c06bfb808db7021..1be5e2b8f1d789c0c94f035aa41a679302be5f2d 100644 (file)
@@ -4488,7 +4488,11 @@ mark_stack ()
      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