From 6138946f5010cead0acb8e2d5b68c3bab65635a4 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Thu, 21 Apr 2016 14:04:56 +0000 Subject: [PATCH] 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 --- sys/arm/arm/gic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/arm/gic.c b/sys/arm/arm/gic.c index 85d15576571..08693d9a833 100644 --- a/sys/arm/arm/gic.c +++ b/sys/arm/arm/gic.c @@ -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