summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-01-13 12:11:10 +0100
committerZheng Da <zhengda1936@gmail.com>2010-01-13 12:11:10 +0100
commit100cabe1addab441fbd8a1a023f9ab9956290268 (patch)
treeefe2d088b41ab7977ce080dc9e3ae0f615d00de7
parent09c9ba0c95d9c8dfb9b1f4e1f907d3a60f710166 (diff)
hide __get_free_pages to avoid name conflict.
-rw-r--r--libddekit/kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/kmem.c b/libddekit/kmem.c
index 49b9a9d3..7a35f3d8 100644
--- a/libddekit/kmem.c
+++ b/libddekit/kmem.c
@@ -78,7 +78,7 @@ struct chunkhdr
unsigned long bitmap; /* busy/free bitmap of pages */
};
-unsigned long __get_free_pages (unsigned long order, int dma);
+static unsigned long __get_free_pages (unsigned long order, int dma);
void free_pages (unsigned long addr, unsigned long order);
static struct mutex mem_lock = MUTEX_INITIALIZER;