xref: /linux/arch/powerpc/kernel/kdebugfs.c (revision dbf77fed8b302e87561c7c2fc06050c88f4d3120)
1*dbf77fedSAneesh Kumar K.V // SPDX-License-Identifier: GPL-2.0
2*dbf77fedSAneesh Kumar K.V #include <linux/debugfs.h>
3*dbf77fedSAneesh Kumar K.V #include <linux/export.h>
4*dbf77fedSAneesh Kumar K.V #include <linux/init.h>
5*dbf77fedSAneesh Kumar K.V 
6*dbf77fedSAneesh Kumar K.V struct dentry *arch_debugfs_dir;
7*dbf77fedSAneesh Kumar K.V EXPORT_SYMBOL(arch_debugfs_dir);
8*dbf77fedSAneesh Kumar K.V 
9*dbf77fedSAneesh Kumar K.V static int __init arch_kdebugfs_init(void)
10*dbf77fedSAneesh Kumar K.V {
11*dbf77fedSAneesh Kumar K.V 	arch_debugfs_dir = debugfs_create_dir("powerpc", NULL);
12*dbf77fedSAneesh Kumar K.V 	return 0;
13*dbf77fedSAneesh Kumar K.V }
14*dbf77fedSAneesh Kumar K.V arch_initcall(arch_kdebugfs_init);
15