forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm/include/asm/ptdump.h
....@@ -21,13 +21,10 @@
2121
2222 void ptdump_walk_pgd(struct seq_file *s, struct ptdump_info *info);
2323 #ifdef CONFIG_ARM_PTDUMP_DEBUGFS
24
-int ptdump_debugfs_register(struct ptdump_info *info, const char *name);
24
+void ptdump_debugfs_register(struct ptdump_info *info, const char *name);
2525 #else
26
-static inline int ptdump_debugfs_register(struct ptdump_info *info,
27
- const char *name)
28
-{
29
- return 0;
30
-}
26
+static inline void ptdump_debugfs_register(struct ptdump_info *info,
27
+ const char *name) { }
3128 #endif /* CONFIG_ARM_PTDUMP_DEBUGFS */
3229
3330 void ptdump_check_wx(void);