Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/sh/kernel/kdebugfs.c
10817 views
1
#include <linux/module.h>
2
#include <linux/init.h>
3
#include <linux/debugfs.h>
4
5
struct dentry *arch_debugfs_dir;
6
EXPORT_SYMBOL(arch_debugfs_dir);
7
8
static int __init arch_kdebugfs_init(void)
9
{
10
arch_debugfs_dir = debugfs_create_dir("sh", NULL);
11
if (!arch_debugfs_dir)
12
return -ENOMEM;
13
14
return 0;
15
}
16
arch_initcall(arch_kdebugfs_init);
17
18