From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> --- fs/ubifs/ubifs.h | 2 -- include/linux/types.h | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 53c0813..9a2d2f5 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -58,8 +58,6 @@ extern unsigned int ubifs_msg_flags; extern unsigned int ubifs_chk_flags; extern unsigned int ubifs_tst_flags; -#define pgoff_t unsigned long - /* * We "simulate" the Linux page struct much simpler here */ diff --git a/include/linux/types.h b/include/linux/types.h index ce1a0ec..9f8eb67 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -157,6 +157,11 @@ typedef __u32 __bitwise __wsum; #define __aligned_be64 __be64 __attribute__((aligned(8))) #define __aligned_le64 __le64 __attribute__((aligned(8))) +/* + * The type of an index into the pagecache. + */ +#define pgoff_t unsigned long + /* A dma_addr_t can hold any valid DMA or bus address for the platform */ #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT typedef u64 dma_addr_t; -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox