aboutsummaryrefslogtreecommitdiff
path: root/asm/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'asm/head.S')
-rw-r--r--asm/head.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/head.S b/asm/head.S
index 37a059d..a56f2bb 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -777,6 +777,9 @@ opal_entry:
/* Get the CPU thread */
GET_CPU()
+ /* Store token in CPU thread */
+ std %r0,CPUTHREAD_CUR_TOKEN(%r13)
+
/* Mark the stack frame */
li %r12,STACK_ENTRY_OPAL_API
std %r12,STACK_TYPE(%r1)