Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Remove temporary kludge from <asm/page.h>

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

-3
-3
arch/mips/include/asm/page.h
··· 39 39 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 40 40 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 41 41 #else /* !CONFIG_HUGETLB_PAGE */ 42 - # ifndef BUILD_BUG 43 - # define BUILD_BUG() do { extern void __build_bug(void); __build_bug(); } while (0) 44 - # endif 45 42 #define HPAGE_SHIFT ({BUILD_BUG(); 0; }) 46 43 #define HPAGE_SIZE ({BUILD_BUG(); 0; }) 47 44 #define HPAGE_MASK ({BUILD_BUG(); 0; })