x86, mm: Use clamp_t() in init_range_memory_mapping
commitb8fd39c036ab982aa087b7ee671f86e2574d31f2
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:39:18 +0000 (16 19:39 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:46 +0000 (17 11:59 -0800)
tree59d60b2d8db18f629084e1e33dc4f9fb7be8c2c0
parent60a8f428320918458a9a21052777eada68eebfd8
x86, mm: Use clamp_t() in init_range_memory_mapping

save some lines, and make code more readable.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-42-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/init.c