[PATCH mmotm 1/5] huge tmpfs: try to allocate huge pages split into a team fix

From: Hugh Dickins
Date: Sat Apr 16 2016 - 19:27:32 EST


Please replace the
huge-tmpfs-try-to-allocate-huge-pages-split-into-a-team-fix.patch
you added to your tree by this one: nothing wrong with Stephen's,
but in this case I think the source is better off if we simply
remove that BUILD_BUG() instead of adding an IS_ENABLED():
fixes build problem seen on arm when putting together linux-next.

Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
---
mm/shmem.c | 1 -
1 file changed, 1 deletion(-)

--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1744,7 +1744,6 @@ static inline struct page *shmem_hugetea

static inline void shmem_disband_hugeteam(struct page *page)
{
- BUILD_BUG();
}

static inline void shmem_added_to_hugeteam(struct page *page,