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 G/C armgic_last_priority
details: https://anonhg.NetBSD.org/src/rev/8e050a0f02ce
branches: trunk
changeset: 336715:8e050a0f02ce
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 12 21:05:07 2015 +0000
description:
G/C armgic_last_priority
diffstat:
sys/arch/arm/cortex/gic.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r aa98ace47caa -r 8e050a0f02ce sys/arch/arm/cortex/gic.c
--- a/sys/arch/arm/cortex/gic.c Thu Mar 12 19:56:51 2015 +0000
+++ b/sys/arch/arm/cortex/gic.c Thu Mar 12 21:05:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gic.c,v 1.14 2015/03/03 21:53:12 jmcneill Exp $ */
+/* $NetBSD: gic.c,v 1.15 2015/03/12 21:05:07 skrll 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.14 2015/03/03 21:53:12 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.15 2015/03/12 21:05:07 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -181,8 +181,6 @@
gicd_write(sc, GICD_ICENABLERn(group), irq_mask);
}
-static uint32_t armgic_last_priority;
-
static void
armgic_set_priority(struct pic_softc *pic, int ipl)
{
@@ -190,7 +188,6 @@
const uint32_t priority = armgic_ipl_to_priority(ipl);
gicc_write(sc, GICC_PMR, priority);
- armgic_last_priority = priority;
}
#ifdef __HAVE_PIC_FAST_SOFTINTS
Home |
Main Index |
Thread Index |
Old Index