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 arm/pic: Mark definitions static to match d...
details: https://anonhg.NetBSD.org/src/rev/3920b6a7010b
branches: trunk
changeset: 368692:3920b6a7010b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jul 28 10:26:26 2022 +0000
description:
arm/pic: Mark definitions static to match declarations.
diffstat:
sys/arch/arm/pic/pic.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 4e58f46bc229 -r 3920b6a7010b sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c Thu Jul 28 10:26:15 2022 +0000
+++ b/sys/arch/arm/pic/pic.c Thu Jul 28 10:26:26 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic.c,v 1.82 2022/07/28 10:26:15 riastradh Exp $ */
+/* $NetBSD: pic.c,v 1.83 2022/07/28 10:26:26 riastradh Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.82 2022/07/28 10:26:15 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.83 2022/07/28 10:26:26 riastradh Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -298,7 +298,7 @@
return ipl_mask;
}
-uint32_t
+static uint32_t
pic_find_pending_irqs_by_ipl(struct pic_softc *pic, size_t irq_base,
uint32_t pending, int ipl)
{
@@ -369,7 +369,7 @@
}
#if defined(__HAVE_PIC_PENDING_INTRS)
-void
+static void
pic_deliver_irqs(struct cpu_info *ci, struct pic_softc *pic, int ipl,
void *frame)
{
@@ -505,7 +505,7 @@
}
}
-struct pic_softc *
+static struct pic_softc *
pic_list_find_pic_by_pending_ipl(struct cpu_info *ci, uint32_t ipl_mask)
{
uint32_t pending_pics = ci->ci_pending_pics;
@@ -524,7 +524,7 @@
}
}
-void
+static void
pic_list_deliver_irqs(struct cpu_info *ci, register_t psw, int ipl,
void *frame)
{
Home |
Main Index |
Thread Index |
Old Index