summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/sys/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/sys/syscall.c')
-rw-r--r--arch/x86_64/sys/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/sys/syscall.c b/arch/x86_64/sys/syscall.c
index b584756..1e06e61 100644
--- a/arch/x86_64/sys/syscall.c
+++ b/arch/x86_64/sys/syscall.c
@@ -50,5 +50,5 @@ void _syscall_entry(void)
sysretq"
::
[pcb] "i"(offsetof(processor_t, pcb)),
- [ksp] "i"(offsetof(pcb_t, ksp)));
+ [ksp] "i"(offsetof(struct pcb_header, ksp)));
}