diff options
Diffstat (limited to 'arch/microblaze/kernel/setup.c')
-rw-r--r-- | arch/microblaze/kernel/setup.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index a1fa2a5813bf..e4f5956ee13c 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c | |||
@@ -208,6 +208,19 @@ static int microblaze_debugfs_init(void) | |||
208 | return of_debugfs_root == NULL; | 208 | return of_debugfs_root == NULL; |
209 | } | 209 | } |
210 | arch_initcall(microblaze_debugfs_init); | 210 | arch_initcall(microblaze_debugfs_init); |
211 | |||
212 | static int __init debugfs_tlb(void) | ||
213 | { | ||
214 | struct dentry *d; | ||
215 | |||
216 | if (!of_debugfs_root) | ||
217 | return -ENODEV; | ||
218 | |||
219 | d = debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip); | ||
220 | if (!d) | ||
221 | return -ENOMEM; | ||
222 | } | ||
223 | device_initcall(debugfs_tlb); | ||
211 | #endif | 224 | #endif |
212 | 225 | ||
213 | static int dflt_bus_notify(struct notifier_block *nb, | 226 | static int dflt_bus_notify(struct notifier_block *nb, |