diff options
author | Minfei Huang <mnfhuang@gmail.com> | 2016-05-24 01:24:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-24 02:04:14 +0200 |
commit | 0eea08678ebe9f7d8ef98fed974a5bf1a0dd2dd2 (patch) | |
tree | 24894ffc23a22f6f40a1f418811c17f73a15df10 /kernel/livepatch | |
parent | kexec: make a pair of map/unmap reserved pages in error path (diff) | |
download | linux-0eea08678ebe9f7d8ef98fed974a5bf1a0dd2dd2.tar.xz linux-0eea08678ebe9f7d8ef98fed974a5bf1a0dd2dd2.zip |
kexec: do a cleanup for function kexec_load
There are a lof of work to be done in function kexec_load, not only for
allocating structs and loading initram, but also for some misc.
To make it more clear, wrap a new function do_kexec_load which is used
to allocate structs and load initram. And the pre-work will be done in
kexec_load.
Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Xunlei Pang <xlpang@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions