Sfoglia il codice sorgente

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 13 anni fa
parent
commit
35d1a455b9
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      arch/mips/include/asm/page.h

+ 0 - 3
arch/mips/include/asm/page.h

@@ -39,9 +39,6 @@
 #define HPAGE_MASK	(~(HPAGE_SIZE - 1))
 #define HUGETLB_PAGE_ORDER	(HPAGE_SHIFT - PAGE_SHIFT)
 #else /* !CONFIG_HUGETLB_PAGE */
-# ifndef BUILD_BUG
-#  define BUILD_BUG() do { extern void __build_bug(void); __build_bug(); } while (0)
-# endif
 #define HPAGE_SHIFT	({BUILD_BUG(); 0; })
 #define HPAGE_SIZE	({BUILD_BUG(); 0; })
 #define HPAGE_MASK	({BUILD_BUG(); 0; })