[2.6 patch] x86: make debug_pagealloc_proc_init() static

From: Adrian Bunk
Date: Mon Apr 21 2008 - 18:50:45 EST


This patch makes the needlessly global debug_pagealloc_proc_init()
static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
1b967b3304fc459c0c17f756a3cd172325603791 diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index f7823a1..c29ebd0 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -993,7 +993,7 @@ static const struct file_operations dpa_fops = {
.release = single_release,
};

-int __init debug_pagealloc_proc_init(void)
+static int __init debug_pagealloc_proc_init(void)
{
struct dentry *de;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/