Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/pic Only if we __HAVE_PIC_PENDING_INTRS do we n...
details: https://anonhg.NetBSD.org/src/rev/4e958a58ab78
branches: trunk
changeset: 337278:4e958a58ab78
user: matt <matt%NetBSD.org@localhost>
date: Thu Apr 09 06:03:43 2015 +0000
description:
Only if we __HAVE_PIC_PENDING_INTRS do we need the variables to track them.
diffstat:
sys/arch/arm/pic/picvar.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 246726944741 -r 4e958a58ab78 sys/arch/arm/pic/picvar.h
--- a/sys/arch/arm/pic/picvar.h Thu Apr 09 05:32:53 2015 +0000
+++ b/sys/arch/arm/pic/picvar.h Thu Apr 09 06:03:43 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: picvar.h,v 1.12 2015/04/08 21:43:30 matt Exp $ */
+/* $NetBSD: picvar.h,v 1.13 2015/04/09 06:03:43 matt Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -125,9 +125,11 @@
struct pic_softc {
const struct pic_ops *pic_ops;
struct intrsource **pic_sources;
+#ifdef __HAVE_PIC_PENDING_INTRS
volatile uint32_t pic_pending_irqs[(PIC_MAXSOURCES + 31) / 32];
volatile uint32_t pic_blocked_irqs[(PIC_MAXSOURCES + 31) / 32];
volatile uint32_t pic_pending_ipls;
+#endif
size_t pic_maxsources;
percpu_t *pic_percpu;
uint8_t pic_id;
@@ -167,7 +169,7 @@
void pic_add(struct pic_softc *, int);
void pic_do_pending_int(void);
#ifdef MULTIPROCESSOR
-int pic_ipi_nop(void *);
+int pic_ipi_nop(void *); // IPI_KPREEMPT tto
int pic_ipi_xcall(void *);
int pic_ipi_generic(void *);
int pic_ipi_shootdown(void *);
Home |
Main Index |
Thread Index |
Old Index