]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmalloc: use offset_in_page macro
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Wed, 21 Oct 2015 22:03:01 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:01 +0000 (09:03 +1100)
commit69cd9665379272fac54d120653a318c92dd63c85
tree394a2d3845d26625333e8d3039f53959a76d8af2
parentad75aeee3abc5bb8ea72e8e5b1a15837d6e334a2
mm/vmalloc: 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>
mm/vmalloc.c