diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-30 14:27:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-30 14:27:10 -0700 |
commit | 12aee278b50c4a94a93fa0b4d201ae35d792c696 (patch) | |
tree | 98c0c42c9095aae34d12a4b8c555176698b7202a /mm/pagewalk.c | |
parent | c56b097af26cb11c1f49a4311ba538c825666fed (diff) | |
parent | 5e8cfc3c75b3e43497389896c0ecda62fc311ce9 (diff) |
Merge branch 'akpm' (fixes from Andrew Morton)
Merge three fixes from Andrew Morton.
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
memcg: use __this_cpu_sub() to dec stats to avoid incorrect subtrahend casting
percpu: fix this_cpu_sub() subtrahend casting for unsigneds
mm/pagewalk.c: fix walk_page_range() access of wrong PTEs
Diffstat (limited to 'mm/pagewalk.c')
-rw-r--r-- | mm/pagewalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/pagewalk.c b/mm/pagewalk.c index 5da2cbcfdbb..2beeabf502c 100644 --- a/mm/pagewalk.c +++ b/mm/pagewalk.c @@ -242,7 +242,7 @@ int walk_page_range(unsigned long addr, unsigned long end, if (err) break; pgd++; - } while (addr = next, addr != end); + } while (addr = next, addr < end); return err; } |