summaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memblock.c')
-rw-r--r--mm/memblock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index ea31045ba704..470601115892 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -2005,8 +2005,7 @@ DEFINE_SHOW_ATTRIBUTE(memblock_debug);
2005static int __init memblock_init_debugfs(void) 2005static int __init memblock_init_debugfs(void)
2006{ 2006{
2007 struct dentry *root = debugfs_create_dir("memblock", NULL); 2007 struct dentry *root = debugfs_create_dir("memblock", NULL);
2008 if (!root) 2008
2009 return -ENXIO;
2010 debugfs_create_file("memory", 0444, root, 2009 debugfs_create_file("memory", 0444, root,
2011 &memblock.memory, &memblock_debug_fops); 2010 &memblock.memory, &memblock_debug_fops);
2012 debugfs_create_file("reserved", 0444, root, 2011 debugfs_create_file("reserved", 0444, root,