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 Don't need pic_ipi_sender anymore.
details: https://anonhg.NetBSD.org/src/rev/1b5fcd5b2dbc
branches: trunk
changeset: 807482:1b5fcd5b2dbc
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 12 08:55:14 2015 +0000
description:
Don't need pic_ipi_sender anymore.
diffstat:
sys/arch/arm/pic/pic.c | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (37 lines):
diff -r c91287e8af05 -r 1b5fcd5b2dbc sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c Sun Apr 12 08:52:54 2015 +0000
+++ b/sys/arch/arm/pic/pic.c Sun Apr 12 08:55:14 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic.c,v 1.30 2015/04/12 08:52:54 matt Exp $ */
+/* $NetBSD: pic.c,v 1.31 2015/04/12 08:55:14 matt Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -33,7 +33,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.30 2015/04/12 08:52:54 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.31 2015/04/12 08:55:14 matt Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -161,18 +161,6 @@
typedef void (*pic_ipi_send_func_t)(struct pic_softc *, u_long);
-static struct pic_softc *
-pic_ipi_sender(void)
-{
- for (size_t slot = 0; slot < PIC_MAXPICS; slot++) {
- struct pic_softc * const pic = pic_list[slot];
- if (pic != NULL && pic->pic_ops->pic_ipi_send != NULL) {
- return pic;
- }
- }
- return NULL;
-}
-
void
intr_ipi_send(const kcpuset_t *kcp, u_long ipi)
{
Home |
Main Index |
Thread Index |
Old Index