aboutsummaryrefslogtreecommitdiff
path: root/editors/emacs23/files/patch-src__alloc.c
blob: 80c226b6f778a9c9dde418577ccaab6278bca19d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/alloc.c.orig	2008-09-07 05:25:27.000000000 +0300
+++ src/alloc.c	2008-09-07 05:25:27.000000000 +0300
@@ -4573,8 +4573,12 @@
      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
      registers used to hold register variables and registers used to