summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@st.com>2010-02-19 11:26:31 +0100
committerPaul Mundt <lethal@linux-sh.org>2010-03-04 17:11:31 +0100
commit62c8cbbfc2367e706317f56ac21959120ae72773 (patch)
tree9ce45fe48d8dab041288ffc33039a5004a9d0ac2 /arch/sh/mm
parentsh: Fix up flush_cache_vmap() on SMP. (diff)
downloadlinux-62c8cbbfc2367e706317f56ac21959120ae72773.tar.xz
linux-62c8cbbfc2367e706317f56ac21959120ae72773.zip
sh: Move PMB debugfs entry initialization to later stage
... so the "sh_debugfs_root" is already available. Previously it wasn't and in result its path was "/sys/kernel/debug/pmb" instead of "/sys/kernel/debug/sh/pmb". Signed-off-by: Pawel Moll <pawel.moll@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/pmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c
index 30035caeb73a..a4662e2782c3 100644
--- a/arch/sh/mm/pmb.c
+++ b/arch/sh/mm/pmb.c
@@ -871,7 +871,7 @@ static int __init pmb_debugfs_init(void)
return 0;
}
-postcore_initcall(pmb_debugfs_init);
+subsys_initcall(pmb_debugfs_init);
#ifdef CONFIG_PM
static int pmb_sysdev_suspend(struct sys_device *dev, pm_message_t state)