aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/threadimpl.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2009-11-18 04:12:17 -0500
committerRuss Cox <rsc@swtch.com>2009-11-18 04:12:17 -0500
commitba940ae61c4c33766e385b63ecf49bec25f301d7 (patch)
treea2e97d18eff26dffb32306ae6cf18af14c6bc6ce /src/libthread/threadimpl.h
parent778ec84c9c817be65404193e2156c8fdb90b846a (diff)
downloadplan9port-ba940ae61c4c33766e385b63ecf49bec25f301d7.tar.gz
plan9port-ba940ae61c4c33766e385b63ecf49bec25f301d7.tar.bz2
plan9port-ba940ae61c4c33766e385b63ecf49bec25f301d7.zip
libthread: context switching for arm, still not complete
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r--src/libthread/threadimpl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index 8b00694e..f5c44f63 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -73,10 +73,10 @@ but surely the latter would be defined(__sparc__).
*/
#if defined(__arm__)
-int getmcontext(mcontext_t*);
-void setmcontext(const mcontext_t*);
-#define setcontext(u) setmcontext(&(u)->uc_mcontext)
-#define getcontext(u) getmcontext(&(u)->uc_mcontext)
+int mygetmcontext(mcontext_t*);
+void mysetmcontext(const mcontext_t*);
+#define setcontext(u) mysetmcontext(&(u)->uc_mcontext)
+#define getcontext(u) mygetmcontext(&(u)->uc_mcontext)
#endif