diff options
Diffstat (limited to 'coroutine/ppc64le/Context.h')
-rw-r--r-- | coroutine/ppc64le/Context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/coroutine/ppc64le/Context.h b/coroutine/ppc64le/Context.h index de592f5a46..5971cd8a9b 100644 --- a/coroutine/ppc64le/Context.h +++ b/coroutine/ppc64le/Context.h @@ -9,9 +9,11 @@ extern "C" { #define COROUTINE __attribute__((noreturn)) void -const size_t COROUTINE_REGISTERS = +enum { + COROUTINE_REGISTERS = 19 /* 18 general purpose registers (r14-r31) and 1 return address */ - + 4; /* space for fiber_entry() to store the link register */ + + 4 /* space for fiber_entry() to store the link register */ +}; typedef struct { |