aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/power-ucontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/power-ucontext.h')
-rw-r--r--src/libthread/power-ucontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libthread/power-ucontext.h b/src/libthread/power-ucontext.h
index a25d480a..9e500822 100644
--- a/src/libthread/power-ucontext.h
+++ b/src/libthread/power-ucontext.h
@@ -1,5 +1,5 @@
-#define setcontext(u) _setmcontext(&(u)->uc_mcontext)
-#define getcontext(u) _getmcontext(&(u)->uc_mcontext)
+#define setcontext(u) _setmcontext(&(u)->mc)
+#define getcontext(u) _getmcontext(&(u)->mc)
typedef struct mcontext mcontext_t;
typedef struct ucontext ucontext_t;
struct mcontext