-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build due to 0c3ce2f50261cd2f654d931eeb933c370a3a7d7a
- Loading branch information
1 parent
dcbc3ee
commit d312d70
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
patches/extra/0002-ia64-workaround-0c3ce2f50261cd2f654d931eeb933c370a3a7d7a.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | |