summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/include/cpu.h')
-rw-r--r--sys/arch/hppa64/include/cpu.h9
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;