Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/mpc85xx Do probe cpu cache on !cpu0.



details:   https://anonhg.NetBSD.org/src/rev/582d1cb0b922
branches:  trunk
changeset: 805114:582d1cb0b922
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Fri Dec 19 04:15:36 2014 +0000

description:
Do probe cpu cache on !cpu0.
Avoid "panic: kernel diagnostic assertion "line_size > 0" failed: file "/usr/src/sys/arch/powerpc/booke/booke_cache.c", line 90".

diffstat:

 sys/arch/evbppc/mpc85xx/machdep.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 3c343153e92e -r 582d1cb0b922 sys/arch/evbppc/mpc85xx/machdep.c
--- a/sys/arch/evbppc/mpc85xx/machdep.c Fri Dec 19 04:07:13 2014 +0000
+++ b/sys/arch/evbppc/mpc85xx/machdep.c Fri Dec 19 04:15:36 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.34 2014/12/19 04:07:13 nonaka Exp $      */
+/*     $NetBSD: machdep.c,v 1.35 2014/12/19 04:15:36 nonaka Exp $      */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -983,6 +983,7 @@
 
        intr_cpu_hatch(ci);
 
+       cpu_probe_cache();
        cpu_print_info(ci);
 
 /*



Home | Main Index | Thread Index | Old Index