aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/eeh.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index 6cae6b56ffd6..3230137469ab 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -1808,10 +1808,10 @@ static int eeh_freeze_dbgfs_get(void *data, u64 *val)
1808 return 0; 1808 return 0;
1809} 1809}
1810 1810
1811DEFINE_SIMPLE_ATTRIBUTE(eeh_enable_dbgfs_ops, eeh_enable_dbgfs_get, 1811DEFINE_DEBUGFS_ATTRIBUTE(eeh_enable_dbgfs_ops, eeh_enable_dbgfs_get,
1812 eeh_enable_dbgfs_set, "0x%llx\n"); 1812 eeh_enable_dbgfs_set, "0x%llx\n");
1813DEFINE_SIMPLE_ATTRIBUTE(eeh_freeze_dbgfs_ops, eeh_freeze_dbgfs_get, 1813DEFINE_DEBUGFS_ATTRIBUTE(eeh_freeze_dbgfs_ops, eeh_freeze_dbgfs_get,
1814 eeh_freeze_dbgfs_set, "0x%llx\n"); 1814 eeh_freeze_dbgfs_set, "0x%llx\n");
1815#endif 1815#endif
1816 1816
1817static int __init eeh_init_proc(void) 1817static int __init eeh_init_proc(void)
@@ -1819,12 +1819,12 @@ static int __init eeh_init_proc(void)
1819 if (machine_is(pseries) || machine_is(powernv)) { 1819 if (machine_is(pseries) || machine_is(powernv)) {
1820 proc_create_single("powerpc/eeh", 0, NULL, proc_eeh_show); 1820 proc_create_single("powerpc/eeh", 0, NULL, proc_eeh_show);
1821#ifdef CONFIG_DEBUG_FS 1821#ifdef CONFIG_DEBUG_FS
1822 debugfs_create_file("eeh_enable", 0600, 1822 debugfs_create_file_unsafe("eeh_enable", 0600,
1823 powerpc_debugfs_root, NULL, 1823 powerpc_debugfs_root, NULL,
1824 &eeh_enable_dbgfs_ops); 1824 &eeh_enable_dbgfs_ops);
1825 debugfs_create_file("eeh_max_freezes", 0600, 1825 debugfs_create_file_unsafe("eeh_max_freezes", 0600,
1826 powerpc_debugfs_root, NULL, 1826 powerpc_debugfs_root, NULL,
1827 &eeh_freeze_dbgfs_ops); 1827 &eeh_freeze_dbgfs_ops);
1828#endif 1828#endif
1829 } 1829 }
1830 1830