diff --git a/patches/extra/0002-ia64-workaround-0c3ce2f50261cd2f654d931eeb933c370a3a7d7a.patch b/patches/extra/0002-ia64-workaround-0c3ce2f50261cd2f654d931eeb933c370a3a7d7a.patch new file mode 100644 index 0000000..8c22e5e --- /dev/null +++ b/patches/extra/0002-ia64-workaround-0c3ce2f50261cd2f654d931eeb933c370a3a7d7a.patch @@ -0,0 +1,20 @@ +diff --git a/mm/page_frag_cache.c b/mm/page_frag_cache.c +index 3f7a203d3..38b395810 100644 +--- a/mm/page_frag_cache.c ++++ b/mm/page_frag_cache.c +@@ -23,7 +23,14 @@ + static unsigned long encoded_page_create(struct page *page, unsigned int order, + bool pfmemalloc) + { +- BUILD_BUG_ON(PAGE_FRAG_CACHE_MAX_ORDER > PAGE_FRAG_CACHE_ORDER_MASK); ++// DEBUG ++#define XSTR(x) STR(x) ++#define STR(x) #x ++ ++#pragma message "PAGE_FRAG_CACHE_MAX_ORDER = " XSTR(PAGE_FRAG_CACHE_MAX_ORDER) ++#pragma message "PAGE_FRAG_CACHE_ORDER_MASK = " XSTR(PAGE_FRAG_CACHE_ORDER_MASK) ++// DEBUG ++ //BUILD_BUG_ON(PAGE_FRAG_CACHE_MAX_ORDER > PAGE_FRAG_CACHE_ORDER_MASK); + BUILD_BUG_ON(PAGE_FRAG_CACHE_PFMEMALLOC_BIT >= PAGE_SIZE); + + return (unsigned long)page_address(page) | \ No newline at end of file