aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/asm')
-rw-r--r--arch/riscv64/asm/asm-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/asm/asm-offsets.c b/arch/riscv64/asm/asm-offsets.c
index a053996..80a48f2 100644
--- a/arch/riscv64/asm/asm-offsets.c
+++ b/arch/riscv64/asm/asm-offsets.c
@@ -98,7 +98,7 @@ void asm_offsets()
/* At the moment tcbd is just a single register slot, so this works, but
* if it's expanded in the future I'll need to figure out a way to
* target specific substructure members. */
- OFFSETOF(tcbd, struct tcb);
+ OFFSETOF(arch, struct tcb);
SIZEOF(tcb, struct tcb);
ENUM(SYS_IPC_RESP);