From 8dcfdd745e17666b639e8f9b6b6476c545ccbb9e Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Tue, 5 Apr 2011 16:05:52 +0000 Subject: Implement syscall_return. "Go ahead" kettenis@ --- sys/arch/hppa64/include/cpu.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/arch/hppa64/include') 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 #include +/* + * 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; -- cgit v1.2.3