Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include PR port-sparc/55261: sparc still pani...



details:   https://anonhg.NetBSD.org/src/rev/28d760055fac
branches:  trunk
changeset: 932776:28d760055fac
user:      ad <ad%NetBSD.org@localhost>
date:      Fri May 15 18:45:08 2020 +0000

description:
PR port-sparc/55261: sparc still panics running ATF tests

Put cpu_data at the end of cpu_info to see how that modifies the symptom.

diffstat:

 sys/arch/sparc/include/cpu.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5bd3bf08ab9e -r 28d760055fac sys/arch/sparc/include/cpu.h
--- a/sys/arch/sparc/include/cpu.h      Fri May 15 16:58:28 2020 +0000
+++ b/sys/arch/sparc/include/cpu.h      Fri May 15 18:45:08 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.105 2020/03/10 03:48:05 christos Exp $ */
+/*     $NetBSD: cpu.h,v 1.106 2020/05/15 18:45:08 ad Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -175,8 +175,6 @@
  */
 
 struct cpu_info {
-       struct cpu_data ci_data;        /* MI per-cpu data */
-
        /*
         * Primary Inter-processor message area.  Keep this aligned
         * to a cache line boundary if possible, as the structure
@@ -395,6 +393,8 @@
        struct evcnt ci_xpmsg_bogus;
        struct evcnt ci_intrcnt[16];
        struct evcnt ci_sintrcnt[16];
+
+       struct cpu_data ci_data;        /* MI per-cpu data */
 };
 
 #endif /* _KERNEL || _KMEMUSER */



Home | Main Index | Thread Index | Old Index