diff options
| author | thorpej <thorpej@NetBSD.org> | 2020-09-04 15:50:09 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2020-09-04 15:50:09 +0000 |
| commit | dd62222acdad47730d3f22cb484cdffd4e87fd32 (patch) | |
| tree | 5484bc15b0190c206d99e0496f3f99c873706652 /sys/arch/alpha/include/cpu.h | |
| parent | 476078313a8e1551225050748825778de45ffb57 (diff) | |
Put the MI cpu_data at the beginning of cpu_info so that it is
cache line aligned.
Diffstat (limited to 'sys/arch/alpha/include/cpu.h')
| -rw-r--r-- | sys/arch/alpha/include/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/cpu.h b/sys/arch/alpha/include/cpu.h index 7c78f644548..437d858e4b2 100644 --- a/sys/arch/alpha/include/cpu.h +++ b/sys/arch/alpha/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.93 2020/09/04 03:53:12 thorpej Exp $ */ +/* $NetBSD: cpu.h,v 1.94 2020/09/04 15:50:09 thorpej Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -99,9 +99,9 @@ struct mchkinfo { * Per-cpu information. Data accessed by MI code is marked [MI]. */ struct cpu_info { + struct cpu_data ci_data; /* [MI] general per-cpu data */ struct lwp *ci_curlwp; /* [MI] current owner of the cpu */ struct lwp *ci_onproc; /* [MI] current user LWP / kthread */ - struct cpu_data ci_data; /* [MI] general per-cpu data */ struct cctr_state ci_cc; /* [MI] cycle counter state */ volatile int ci_mtx_count; /* [MI] neg count of spin mutexes */ |
