* [PATCH] GHES: Make ghes_estatus_caches static
@ 2014-09-29 11:39 Borislav Petkov
0 siblings, 0 replies; only message in thread
From: Borislav Petkov @ 2014-09-29 11:39 UTC (permalink / raw)
To: linux-acpi; +Cc: LKML
From: Borislav Petkov <bp@suse.de>
It is used only in ghes.c.
Signed-off-by: Borislav Petkov <bp@suse.de>
---
drivers/acpi/apei/ghes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index 9dcc9158c8e2..1b6aa514848f 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -128,7 +128,7 @@ static DEFINE_SPINLOCK(ghes_ioremap_lock_irq);
static struct gen_pool *ghes_estatus_pool;
static unsigned long ghes_estatus_pool_size_request;
-struct ghes_estatus_cache *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE];
+static struct ghes_estatus_cache *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE];
static atomic_t ghes_estatus_cache_alloced;
static int ghes_ioremap_init(void)
--
2.0.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-29 11:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29 11:39 [PATCH] GHES: Make ghes_estatus_caches static Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®