]> git.baikalelectronics.ru Git - kernel.git/commit
x86, cleanups: Use clear_page/copy_page rather than memset/memcpy
authorJan Beulich <JBeulich@novell.com>
Thu, 2 Sep 2010 12:46:34 +0000 (13:46 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 22 Sep 2010 22:36:49 +0000 (15:36 -0700)
commitc0ad2f6c214ea109922d4a4b42f269898adffbb7
tree14352587d407c328d490781d3b5e0f7f0d07fe71
parentcbddb5a43fadf0fb990622d096a5fc4bc35d7659
x86, cleanups: Use clear_page/copy_page rather than memset/memcpy

When operating on whole pages, use clear_page() and copy_page() in
favor of memset() and memcpy(); after all that's what they are
intended for.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <4C7FB8CA0200007800013F51@vpn.id2.novell.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/machine_kexec_64.c
arch/x86/kvm/lapic.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c