diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2011-04-05 16:05:52 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2011-04-05 16:05:52 +0000 |
commit | 8dcfdd745e17666b639e8f9b6b6476c545ccbb9e (patch) | |
tree | d2495831ab15fbc050eb1c4d0f2c3b26476d388b /sys/arch/hppa64/include | |
parent | f96caeef1639a64afe7c6e7ccce55880aed2507b (diff) |
Implement syscall_return.
"Go ahead" kettenis@
Diffstat (limited to 'sys/arch/hppa64/include')
-rw-r--r-- | sys/arch/hppa64/include/cpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/cpu.h b/sys/arch/hppa64/include/cpu.h index 4a328282ce5..aa88b02be8a 100644 --- a/sys/arch/hppa64/include/cpu.h +++ b/sys/arch/hppa64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.20 2011/04/05 15:46:53 jsing Exp $ */ +/* $OpenBSD: cpu.h,v 1.21 2011/04/05 16:05:51 jsing Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -115,7 +115,14 @@ #include <sys/time.h> #include <sys/sched.h> +/* + * Note that the alignment of ci_trap_save is important since we want to keep + * it within a single cache line. As a result, it must be kept as the first + * entry within the cpu_info struct. + */ struct cpu_info { + volatile u_long ci_trap_save[16]; + volatile int ci_psw; struct proc *ci_curproc; |