]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm/percpu: use offset_in_page macro
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Wed, 21 Oct 2015 22:03:00 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:00 +0000 (09:03 +1100)
commit0bf356b76db60eea1a482d36f43663b8bb27618f
tree511d6c771a8c55b05040d436bbd1cea5f6c4ab39
parent099edc8cd6fc9487b54aa6a3478052057c10949d
mm/percpu: 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>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/percpu.c