]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
pagewalk-update-page-table-walker-core-fix-end-address-calculation-in-walk_page_range-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 14 May 2014 00:01:33 +0000 (10:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:01:33 +0000 (10:01 +1000)
s/min_t/min/

Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/pagewalk.c

index 9f371ff6769790d7726b6c6c99331e970bbbb6bc..20b0eb528afa98d4d120db9d3c71e702c2ce3ffd 100644 (file)
@@ -321,7 +321,7 @@ int walk_page_range(unsigned long start, unsigned long end,
                        next = vma->vm_start;
                } else { /* inside the found vma */
                        walk->vma = vma;
-                       next = min_t(unsigned long, end, vma->vm_end);
+                       next = min(end, vma->vm_end);
 
                        err = walk_page_test(start, next, walk);
                        if (skip_lower_level_walking(walk))