diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 38c4b733a72..4924c48cb1f 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/unistd.h> | 32 | #include <linux/unistd.h> |
33 | #include <linux/serial.h> | 33 | #include <linux/serial.h> |
34 | #include <linux/serial_8250.h> | 34 | #include <linux/serial_8250.h> |
35 | #include <linux/debugfs.h> | ||
35 | #include <asm/io.h> | 36 | #include <asm/io.h> |
36 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
37 | #include <asm/processor.h> | 38 | #include <asm/processor.h> |
@@ -579,3 +580,15 @@ static int __init check_cache_coherency(void) | |||
579 | 580 | ||
580 | late_initcall(check_cache_coherency); | 581 | late_initcall(check_cache_coherency); |
581 | #endif /* CONFIG_CHECK_CACHE_COHERENCY */ | 582 | #endif /* CONFIG_CHECK_CACHE_COHERENCY */ |
583 | |||
584 | #ifdef CONFIG_DEBUG_FS | ||
585 | struct dentry *powerpc_debugfs_root; | ||
586 | |||
587 | static int powerpc_debugfs_init(void) | ||
588 | { | ||
589 | powerpc_debugfs_root = debugfs_create_dir("powerpc", NULL); | ||
590 | |||
591 | return powerpc_debugfs_root == NULL; | ||
592 | } | ||
593 | arch_initcall(powerpc_debugfs_init); | ||
594 | #endif | ||