swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: 620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc authored by Linus Torvalds on 11 July 2011, 23:51:52 UTC
Linux 3.0-rc7
Tip revision: 620917d
kdebugfs.c
#include <linux/module.h>
#include <linux/init.h>
#include <linux/debugfs.h>

struct dentry *arch_debugfs_dir;
EXPORT_SYMBOL(arch_debugfs_dir);

static int __init arch_kdebugfs_init(void)
{
	arch_debugfs_dir = debugfs_create_dir("sh", NULL);
	if (!arch_debugfs_dir)
		return -ENOMEM;

	return 0;
}
arch_initcall(arch_kdebugfs_init);
back to top