x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/
Borislav Petkov
maintainerPATCH 1/1 x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/
From: Borislav Petkov <[email protected]>
... 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 <[email protected]>
--- arch/x86/kernel/kdebugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/kdebugfs.c +1 -1
@@ -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 ;
Signature · 1 line
2.11.0
tip-bot for Borislav Petkov
merge botx86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/
Commit-ID: 10bce8410607a18eb3adf5d2739db8c8593e110d Gitweb: http://git.kernel.org/tip/10bce8410607a18eb3adf5d2739db8c8593e110d Author: Borislav Petkov <[email protected]> AuthorDate: Mon, 27 Feb 2017 23:50:58 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 1 Mar 2017 09:57:02 +0100
x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/
... 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 <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/kernel/kdebugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/kdebugfs.c +1 -1
@@ -167,7 +167,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 ;