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 Make pic_sourcebase static



details:   https://anonhg.NetBSD.org/src/rev/f36d48d56785
branches:  trunk
changeset: 967865:f36d48d56785
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Dec 24 20:37:44 2019 +0000

description:
Make pic_sourcebase static

diffstat:

 sys/arch/arm/pic/pic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7fe943cb25f7 -r f36d48d56785 sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c    Tue Dec 24 19:51:00 2019 +0000
+++ b/sys/arch/arm/pic/pic.c    Tue Dec 24 20:37:44 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic.c,v 1.50 2019/12/23 15:51:47 jmcneill Exp $        */
+/*     $NetBSD: pic.c,v 1.51 2019/12/24 20:37:44 skrll 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.50 2019/12/23 15:51:47 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.51 2019/12/24 20:37:44 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -98,7 +98,7 @@
 size_t pic_ipl_offset[NIPL+1];
 
 static kmutex_t pic_lock;
-size_t pic_sourcebase;
+static size_t pic_sourcebase;
 static struct evcnt pic_deferral_ev =
     EVCNT_INITIALIZER(EVCNT_TYPE_MISC, NULL, "deferred", "intr");
 EVCNT_ATTACH_STATIC(pic_deferral_ev);



Home | Main Index | Thread Index | Old Index