]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kexec: allocate vmcoreinfo note buffer on page-size boundary
authorHATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Wed, 20 Mar 2013 04:08:36 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:29 +0000 (15:23 +1100)
commitc88a69847a61b6f3b0f0a33e57355db6ceb86fcf
treeff187ac6dd848a54bd80860d9f8b012971dad715
parent91e032ed004c897e66c50f1476187451c1e67c3f
kexec: allocate vmcoreinfo note buffer on page-size boundary

To satisfy mmap()'s page-size boundary requirement, specify aligned
attribute to vmcoreinfo_note objects to allocate it on page-size boundary.

Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/kexec.h
kernel/kexec.c