Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1589031
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/ |
| Date | 2017-02-28 00:00 +0100 |
| Message-ID | <tfCqT-3Po-35@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Borislav Petkov <bp@suse.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@suse.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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/ Borislav Petkov <bp@alien8.de> - 2017-02-28 00:00 +0100
csiph-web