From 150fa7bcdd03c63cfad138ded9ca434732cb5637 Mon Sep 17 00:00:00 2001 From: Pierluigi Passaro Date: Tue, 18 Sep 2018 16:58:31 +0200 Subject: [PATCH 1/2] kernel: add support for 4.18 kernel --- kernel/fs/axfs/axfs_fs_sb.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/fs/axfs/axfs_fs_sb.h b/kernel/fs/axfs/axfs_fs_sb.h index 0d38755..d5633e7 100644 --- a/kernel/fs/axfs/axfs_fs_sb.h +++ b/kernel/fs/axfs/axfs_fs_sb.h @@ -83,7 +83,11 @@ struct axfs_super { u8 profiling_on; /* Determines if profiling is on or off */ u8 mtd_pointed; u8 compression_type; +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0) struct timespec timestamp; +#else + struct timespec64 timestamp; +#endif u8 page_shift; void *profile_man; }; -- 2.17.1