summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/dawr.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2021-08-12 15:28:31 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-13 14:04:26 +0200
commitdbf77fed8b302e87561c7c2fc06050c88f4d3120 (patch)
tree0e1d56d8a63765d296652f8a7f0cea64a0fedb43 /arch/powerpc/kernel/dawr.c
parentpowerpc/book3s64/radix: make tlb_single_page_flush_ceiling a debugfs entry (diff)
downloadlinux-dbf77fed8b302e87561c7c2fc06050c88f4d3120.tar.xz
linux-dbf77fed8b302e87561c7c2fc06050c88f4d3120.zip
powerpc: rename powerpc_debugfs_root to arch_debugfs_dir
No functional change in this patch. arch_debugfs_dir is the generic kernel name declared in linux/debugfs.h for arch-specific debugfs directory. Architectures like x86/s390 already use the name. Rename powerpc specific powerpc_debugfs_root to arch_debugfs_dir. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210812132831.233794-2-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/dawr.c')
-rw-r--r--arch/powerpc/kernel/dawr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/dawr.c b/arch/powerpc/kernel/dawr.c
index cdc2dccb987d..64e423d2fe0f 100644
--- a/arch/powerpc/kernel/dawr.c
+++ b/arch/powerpc/kernel/dawr.c
@@ -9,7 +9,6 @@
#include <linux/export.h>
#include <linux/fs.h>
#include <linux/debugfs.h>
-#include <asm/debugfs.h>
#include <asm/machdep.h>
#include <asm/hvcall.h>
@@ -101,7 +100,7 @@ static int __init dawr_force_setup(void)
if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) {
/* Turn DAWR off by default, but allow admin to turn it on */
debugfs_create_file_unsafe("dawr_enable_dangerous", 0600,
- powerpc_debugfs_root,
+ arch_debugfs_dir,
&dawr_force_enable,
&dawr_enable_fops);
}