Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2016 14:04:56 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298403 - head/sys/arm/arm
Message-ID:  <201604211404.u3LE4uMt098508@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Apr 21 14:04:56 2016
New Revision: 298403
URL: https://svnweb.freebsd.org/changeset/base/298403

Log:
  Make the GIC SGI global variables static, they are only ever used within
  within this file.
  
  Approved by:	ABT Systems Ltd
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm/arm/gic.c

Modified: head/sys/arm/arm/gic.c
==============================================================================
--- head/sys/arm/arm/gic.c	Thu Apr 21 13:14:55 2016	(r298402)
+++ head/sys/arm/arm/gic.c	Thu Apr 21 14:04:56 2016	(r298403)
@@ -131,8 +131,8 @@ static int arm_gic_intr(void *);
 static int arm_gic_bind_intr(device_t dev, struct intr_irqsrc *isrc);
 
 #ifdef SMP
-u_int sgi_to_ipi[GIC_LAST_SGI - GIC_FIRST_SGI + 1];
-u_int sgi_first_unused = GIC_FIRST_SGI;
+static u_int sgi_to_ipi[GIC_LAST_SGI - GIC_FIRST_SGI + 1];
+static u_int sgi_first_unused = GIC_FIRST_SGI;
 #endif
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604211404.u3LE4uMt098508>