Skip to content

Commit

Permalink
Upstream patches
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Nov 24, 2017
1 parent a3f4571 commit 210b7ef
Show file tree
Hide file tree
Showing 8 changed files with 3,044 additions and 0 deletions.
718 changes: 718 additions & 0 deletions patch/kernel/mvebu-default/04-patch-4.4.100-101.patch

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions patch/kernel/mvebu-default/04-patch-4.4.101-102.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
diff --git a/Makefile b/Makefile
index 0d7b050427ed..9e036fac9c04 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 4
-SUBLEVEL = 101
+SUBLEVEL = 102
EXTRAVERSION =
NAME = Blurry Fish Butt

diff --git a/mm/debug-pagealloc.c b/mm/debug-pagealloc.c
index fe1c61f7cf26..3b8f1b83610e 100644
--- a/mm/debug-pagealloc.c
+++ b/mm/debug-pagealloc.c
@@ -34,7 +34,7 @@ static inline void set_page_poison(struct page *page)
struct page_ext *page_ext;

page_ext = lookup_page_ext(page);
- if (page_ext)
+ if (!page_ext)
return;
__set_bit(PAGE_EXT_DEBUG_POISON, &page_ext->flags);
}
@@ -44,7 +44,7 @@ static inline void clear_page_poison(struct page *page)
struct page_ext *page_ext;

page_ext = lookup_page_ext(page);
- if (page_ext)
+ if (!page_ext)
return;
__clear_bit(PAGE_EXT_DEBUG_POISON, &page_ext->flags);
}
@@ -54,7 +54,7 @@ static inline bool page_poison(struct page *page)
struct page_ext *page_ext;

page_ext = lookup_page_ext(page);
- if (page_ext)
+ if (!page_ext)
return false;
return test_bit(PAGE_EXT_DEBUG_POISON, &page_ext->flags);
}
Loading

0 comments on commit 210b7ef

Please sign in to comment.