Loading arch/x86/kernel/kdebugfs.c +8 −0 Original line number Diff line number Diff line Loading @@ -12,9 +12,13 @@ #include <linux/init.h> #include <linux/io.h> #include <linux/mm.h> #include <linux/module.h> #include <asm/setup.h> struct dentry *arch_debugfs_dir; EXPORT_SYMBOL(arch_debugfs_dir); #ifdef CONFIG_DEBUG_BOOT_PARAMS struct setup_data_node { u64 paddr; Loading Loading @@ -209,6 +213,10 @@ static int __init arch_kdebugfs_init(void) { int error = 0; arch_debugfs_dir = debugfs_create_dir("x86", NULL); if (!arch_debugfs_dir) return -ENOMEM; #ifdef CONFIG_DEBUG_BOOT_PARAMS error = boot_params_kdebugfs_init(); #endif Loading include/linux/debugfs.h +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ struct debugfs_blob_wrapper { unsigned long size; }; extern struct dentry *arch_debugfs_dir; #if defined(CONFIG_DEBUG_FS) /* declared over in file.c */ Loading Loading
arch/x86/kernel/kdebugfs.c +8 −0 Original line number Diff line number Diff line Loading @@ -12,9 +12,13 @@ #include <linux/init.h> #include <linux/io.h> #include <linux/mm.h> #include <linux/module.h> #include <asm/setup.h> struct dentry *arch_debugfs_dir; EXPORT_SYMBOL(arch_debugfs_dir); #ifdef CONFIG_DEBUG_BOOT_PARAMS struct setup_data_node { u64 paddr; Loading Loading @@ -209,6 +213,10 @@ static int __init arch_kdebugfs_init(void) { int error = 0; arch_debugfs_dir = debugfs_create_dir("x86", NULL); if (!arch_debugfs_dir) return -ENOMEM; #ifdef CONFIG_DEBUG_BOOT_PARAMS error = boot_params_kdebugfs_init(); #endif Loading
include/linux/debugfs.h +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ struct debugfs_blob_wrapper { unsigned long size; }; extern struct dentry *arch_debugfs_dir; #if defined(CONFIG_DEBUG_FS) /* declared over in file.c */ Loading