commit | 1824cb753354e026ab898cd472bddd540b50b00b | [log] [tgz] |
---|---|---|
author | Alexander Kuleshov <kuleshovmail@gmail.com> | Thu Nov 05 18:46:35 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Nov 05 19:34:48 2015 -0800 |
tree | 391aa46b768e22a3987adae91b7a4104291d34d2 | |
parent | b0d61c7e56815b0b881c81f6779a65f4fdae4bc0 [diff] |
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>