From: Geert Uytterhoeven Date: Thu, 12 Feb 2015 23:01:22 +0000 (-0800) Subject: linux/types.h: Always use unsigned long for pgoff_t X-Git-Tag: v4.14-rc1~5954^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd4a5c1e6531b9c6ba6ee1f3cb11f0aeea25881e;p=platform%2Fkernel%2Flinux-rpi.git linux/types.h: Always use unsigned long for pgoff_t Everybody uses unsigned long for pgoff_t, and no one ever overrode the definition of pgoff_t. Keep it that way, and remove the option of overriding it. Signed-off-by: Geert Uytterhoeven Cc: Randy Dunlap Cc: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/types.h b/include/linux/types.h index 6232382..6747247 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -135,12 +135,9 @@ typedef unsigned long blkcnt_t; #endif /* - * The type of an index into the pagecache. Use a #define so asm/types.h - * can override it. + * The type of an index into the pagecache. */ -#ifndef pgoff_t #define pgoff_t unsigned long -#endif /* A dma_addr_t can hold any valid DMA or bus address for the platform */ #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT