Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/arch/arm/cortex Pull up following revision(s) (reques...
details: https://anonhg.NetBSD.org/src/rev/322db61f5a1c
branches: netbsd-7
changeset: 799124:322db61f5a1c
user: snj <snj%NetBSD.org@localhost>
date: Sat Mar 21 17:24:19 2015 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #627):
sys/arch/arm/cortex/gic.c: revision 1.16
Trailing whitespace
diffstat:
sys/arch/arm/cortex/gic.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 5929c8670c7f -r 322db61f5a1c sys/arch/arm/cortex/gic.c
--- a/sys/arch/arm/cortex/gic.c Sat Mar 21 17:11:35 2015 +0000
+++ b/sys/arch/arm/cortex/gic.c Sat Mar 21 17:24:19 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gic.c,v 1.10.2.3 2015/03/15 22:46:38 snj Exp $ */
+/* $NetBSD: gic.c,v 1.10.2.4 2015/03/21 17:24:19 snj Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -34,7 +34,7 @@
#define _INTR_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.10.2.3 2015/03/15 22:46:38 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.10.2.4 2015/03/21 17:24:19 snj Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -270,7 +270,7 @@
#if 0
const int ipl = armgic_priority_to_ipl(gicc_read(sc, GICC_RPR));
KASSERTMSG(panicstr != NULL || ipl == is->is_ipl,
- "%s: irq %d: running ipl %d != source ipl %u",
+ "%s: irq %d: running ipl %d != source ipl %u",
ci->ci_data.cpu_name, irq, ipl, is->is_ipl);
#else
const int ipl = is->is_ipl;
@@ -332,7 +332,7 @@
"irq %u: not valid (group[%zu]=0x%08x [0x%08x])",
is->is_irq, group, sc->sc_gic_valid_lines[group],
(uint32_t)__BIT(irq));
-
+
KASSERTMSG(is->is_type == IST_LEVEL || is->is_type == IST_EDGE,
"irq %u: type %u unsupported", is->is_irq, is->is_type);
@@ -342,7 +342,7 @@
uint32_t cfg = gicd_read(sc, cfg_reg);
if (group > 0) {
- /*
+ /*
* There are 4 irqs per TARGETS register. For now bind
* to the primary cpu.
*/
@@ -357,7 +357,7 @@
targets |= 1 << byte_shift;
gicd_write(sc, targets_reg, targets);
- /*
+ /*
* There are 16 irqs per CFG register. 10=EDGE 00=LEVEL
*/
uint32_t new_cfg = cfg;
@@ -384,7 +384,7 @@
#endif
}
- /*
+ /*
* There are 4 irqs per PRIORITY register. Map the IPL
* to GIC priority.
*/
@@ -436,7 +436,7 @@
armgic_cpu_init_targets(struct armgic_softc *sc)
{
/*
- * Update the mpsafe targets
+ * Update the mpsafe targets
*/
for (size_t irq = 32; irq < sc->sc_pic.pic_maxsources; irq++) {
struct intrsource * const is = sc->sc_pic.pic_sources[irq];
Home |
Main Index |
Thread Index |
Old Index