This adds debugfs_create_x64() by calling debugfs_create_u64() instead. The 64 bit number is then not hex, but dec formated in debug fs. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/debugfs.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backport/backport-include/linux/debugfs.h b/backport/backport-include/linux/debugfs.h index 16604e3..938eac2 100644 --- a/backport/backport-include/linux/debugfs.h +++ b/backport/backport-include/linux/debugfs.h @@ -15,4 +15,13 @@ static inline void debugfs_remove_recursive(struct dentry *dentry) #endif #endif /* < 2.6.27 */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) +static inline struct dentry *debugfs_create_x64(const char *name, umode_t mode, + struct dentry *parent, + u64 *value) +{ + return debugfs_create_u64(name, mode, parent, value); +} +#endif + #endif /* __BACKPORT_LINUX_DEBUGFS_H */ -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html