summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2014-04-07 22:37:21 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-07 23:35:53 (GMT)
commit99e3e53f4e0fd807607bf381e14f6de8feedd383 (patch)
tree58f9324322ca4cd8d877507514d14f123c243e44 /drivers/tty
parentf1820361f83d556a7f0a9f629100f3825e594328 (diff)
downloadlinux-99e3e53f4e0fd807607bf381e14f6de8feedd383.tar.xz
mm: cleanup size checks in filemap_fault() and filemap_map_pages()
Minor cleanups: - 'size' variable is now in bytes, not pages; - use round_up(): it should be easier to read. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Rik van Riel <riel@redhat.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Matthew Wilcox <matthew.r.wilcox@intel.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Dave Chinner <david@fromorbit.com> Cc: Ning Qu <quning@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions