Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Move aprint to print sooner.
details: https://anonhg.NetBSD.org/src/rev/e7b8e940a200
branches: trunk
changeset: 328671:e7b8e940a200
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 13 02:21:47 2014 +0000
description:
Move aprint to print sooner.
diffstat:
sys/arch/arm/cortex/gic.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r 5e60d336391a -r e7b8e940a200 sys/arch/arm/cortex/gic.c
--- a/sys/arch/arm/cortex/gic.c Sun Apr 13 02:20:33 2014 +0000
+++ b/sys/arch/arm/cortex/gic.c Sun Apr 13 02:21:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gic.c,v 1.7 2014/03/28 21:39:09 matt Exp $ */
+/* $NetBSD: gic.c,v 1.8 2014/04/13 02:21:47 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -33,7 +33,7 @@
#define _INTR_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.7 2014/03/28 21:39:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.8 2014/04/13 02:21:47 matt Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -563,6 +563,10 @@
sc->sc_gic_valid_lines[group] = valid;
}
+ aprint_normal(": Generic Interrupt Controller, "
+ "%zu sources (%zu valid)\n",
+ sc->sc_pic.pic_maxsources, sc->sc_gic_lines);
+
pic_add(&sc->sc_pic, 0);
/*
@@ -620,10 +624,6 @@
armgic_cpu_init(&sc->sc_pic, curcpu());
#endif
- aprint_normal(": Generic Interrupt Controller, "
- "%zu sources (%zu valid)\n",
- sc->sc_pic.pic_maxsources, sc->sc_gic_lines);
-
const u_int ppis = popcount32(sc->sc_gic_valid_lines[0] >> 16);
const u_int sgis = popcount32(sc->sc_gic_valid_lines[0] & 0xffff);
aprint_normal_dev(sc->sc_dev, "%u Priorities, %zu SPIs, %u PPIs, %u SGIs\n",
Home |
Main Index |
Thread Index |
Old Index