aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-14 07:35:14 +0000
committerrsc <devnull@localhost>2006-02-14 07:35:14 +0000
commit05eb37f26784d69c88bef2cb2eda573e644dde71 (patch)
tree6b89df32cf3e05638b5ba463d6d9004f75e2b532
parent76a78f4320d51c827bec2bb2ca6cba64bb7f025d (diff)
downloadplan9port-05eb37f26784d69c88bef2cb2eda573e644dde71.tar.gz
plan9port-05eb37f26784d69c88bef2cb2eda573e644dde71.tar.bz2
plan9port-05eb37f26784d69c88bef2cb2eda573e644dde71.zip
maybe
-rw-r--r--src/libthread/Linux-sparc64-context.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libthread/Linux-sparc64-context.S b/src/libthread/Linux-sparc64-context.S
index f138e462..c684eb5d 100644
--- a/src/libthread/Linux-sparc64-context.S
+++ b/src/libthread/Linux-sparc64-context.S
@@ -46,7 +46,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include <sysdep.h>
+#include <linux/linkage.h>
+
/*#include "ucontext_i.h" (up above) */
/* int getcontext(ucontext_t *); */
@@ -130,4 +131,9 @@ ENTRY(__setcontext)
stx %o2, [%o0 + __UC_SIGMASK]
ta 0x6f
+#ifdef END
+#define END(x)
+#endif
+
END(__setcontext)
+