From: Chong Yidong Date: Fri, 23 Jan 2009 04:38:18 +0000 (+0000) Subject: (mark_stack): Use "flushw" instead of "ta 3" assembly call for X-Git-Tag: emacs-pretest-23.0.90~280 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c1616bee482b2921251c1ee00fc00a4c38e7cb5;p=emacs.git (mark_stack): Use "flushw" instead of "ta 3" assembly call for Sparc64. --- diff --git a/src/alloc.c b/src/alloc.c index 90c743a5d38..1be5e2b8f1d 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -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