summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-12-08 20:48:33 +0000
committermsmith <msmith@FreeBSD.org>2000-12-08 20:48:33 +0000
commit5c07e9c2eb9df5064a1ae206f7c7dcc69b94e70a (patch)
treedfdc2e4a8d4db81aab8551d3cb21603eb940f230 /sys/dev/acpica
parentffce1c840d1991590e43beda230efca6a1058dd1 (diff)
downloadFreeBSD-src-5c07e9c2eb9df5064a1ae206f7c7dcc69b94e70a.zip
FreeBSD-src-5c07e9c2eb9df5064a1ae206f7c7dcc69b94e70a.tar.gz
Staticise some malloc pools
Submitted by: phk
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/Osd/OsdMemory.c2
-rw-r--r--sys/dev/acpica/Osd/OsdSynch.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/Osd/OsdMemory.c b/sys/dev/acpica/Osd/OsdMemory.c
index 7eb5fe1..8112eb8 100644
--- a/sys/dev/acpica/Osd/OsdMemory.c
+++ b/sys/dev/acpica/Osd/OsdMemory.c
@@ -39,7 +39,7 @@
#include <vm/vm.h>
#include <vm/pmap.h>
-MALLOC_DEFINE(M_ACPICA, "acpica", "ACPI CA memory pool");
+static MALLOC_DEFINE(M_ACPICA, "acpica", "ACPI CA memory pool");
void *
AcpiOsAllocate(UINT32 Size)
diff --git a/sys/dev/acpica/Osd/OsdSynch.c b/sys/dev/acpica/Osd/OsdSynch.c
index 7f38aff..de532ca 100644
--- a/sys/dev/acpica/Osd/OsdSynch.c
+++ b/sys/dev/acpica/Osd/OsdSynch.c
@@ -37,7 +37,7 @@
#include <sys/malloc.h>
#include <sys/mutex.h>
-MALLOC_DEFINE(M_ACPISEM, "acpisem", "ACPI semaphore");
+static MALLOC_DEFINE(M_ACPISEM, "acpisem", "ACPI semaphore");
/*
* Simple counting semaphore implemented using a mutex. (Subsequently used
OpenPOWER on IntegriCloud