[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170227225058.27289-1-bp@alien8.de>
Date: Mon, 27 Feb 2017 23:50:58 +0100
From: Borislav Petkov <bp@...en8.de>
To: X86 ML <x86@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/
From: Borislav Petkov <bp@...e.de>
... since this is all x86-specific data and it makes sense to have it
under x86/ logically instead in the toplevel debugfs dir.
Signed-off-by: Borislav Petkov <bp@...e.de>
---
arch/x86/kernel/kdebugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/kdebugfs.c b/arch/x86/kernel/kdebugfs.c
index c3d354d1c719..b4debd51dc4b 100644
--- a/arch/x86/kernel/kdebugfs.c
+++ b/arch/x86/kernel/kdebugfs.c
@@ -159,7 +159,7 @@ static int __init boot_params_kdebugfs_init(void)
struct dentry *dbp, *version, *data;
int error = -ENOMEM;
- dbp = debugfs_create_dir("boot_params", NULL);
+ dbp = debugfs_create_dir("boot_params", arch_debugfs_dir);
if (!dbp)
return -ENOMEM;
--
2.11.0
Powered by blists - more mailing lists