staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / arm64 / mm / ptdump_debugfs.c
blob064163f2559200ad52fd32b652d7e62d90231c6c
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/debugfs.h>
3 #include <linux/seq_file.h>
5 #include <asm/ptdump.h>
7 static int ptdump_show(struct seq_file *m, void *v)
9 struct ptdump_info *info = m->private;
10 ptdump_walk_pgd(m, info);
11 return 0;
13 DEFINE_SHOW_ATTRIBUTE(ptdump);
15 void ptdump_debugfs_register(struct ptdump_info *info, const char *name)
17 debugfs_create_file(name, 0400, NULL, info, &ptdump_fops);