]> git.baikalelectronics.ru Git - kernel.git/commit
/dev/mem: make size_inside_page() logic straight
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 15 Dec 2009 01:58:09 +0000 (17:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:11 +0000 (08:53 -0800)
commite7f622ab03ff3e24e883e55eed5f178ceda7d906
treedf9d903be524ce4616344887f074ed69c8200b58
parent1b58c4d904521fdc6cbcb1808053c8560a86c8c2
/dev/mem: make size_inside_page() logic straight

Also convert more size_inside_page() users.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Avi Kivity <avi@qumranet.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mem.c