diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-11-05 18:46:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-05 19:34:48 -0800 |
commit | 1824cb753354e026ab898cd472bddd540b50b00b (patch) | |
tree | 391aa46b768e22a3987adae91b7a4104291d34d2 /mm/mm_init.c | |
parent | b0d61c7e56815b0b881c81f6779a65f4fdae4bc0 (diff) | |
download | linux-1824cb753354e026ab898cd472bddd540b50b00b.tar.gz linux-1824cb753354e026ab898cd472bddd540b50b00b.tar.bz2 linux-1824cb753354e026ab898cd472bddd540b50b00b.zip |
mm/nommu: use offset_in_page macro
linux/mm.h provides offset_in_page() macro. Let's use already predefined
macro instead of (addr & ~PAGE_MASK).
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions