[PATCH 00/10] Use offset_in_page() macro

From: Alexander Kuleshov
Date: Tue Sep 15 2015 - 10:08:14 EST


This patchset does not provide functional changes, but just replaces
(addr & ~PAGE_MASK) expression with already defined offset_in_page()
macro from the <linux/mm.h>.

Alexander Kuleshov (10):
mm/msync: Use offset_in_page macro
mm/nommu: Use offset_in_page macro
mm/mincore: Use offset_in_page macro
mm/early_ioremap: Use offset_in_page macro
mm/percpu: Use offset_in_page macro
mm/util: Use offset_in_page macro
mm/mlock: Use offset_in_page macro
mm/vmalloc: Use offset_in_page macro
mm/mmap: Use offset_in_page macro
mm/mremap: Use offset_in_page macro

mm/early_ioremap.c | 6 +++---
mm/mincore.c | 2 +-
mm/mlock.c | 6 +++---
mm/mmap.c | 12 ++++++------
mm/mremap.c | 12 ++++++------
mm/msync.c | 2 +-
mm/nommu.c | 8 ++++----
mm/percpu.c | 10 +++++-----
mm/util.c | 2 +-
mm/vmalloc.c | 12 ++++++------
10 files changed, 36 insertions(+), 36 deletions(-)

--
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/