diff options
author | Minfei Huang <mnfhuang@gmail.com> | 2016-05-23 16:24:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 17:04:14 -0700 |
commit | 0eea08678ebe9f7d8ef98fed974a5bf1a0dd2dd2 (patch) | |
tree | 24894ffc23a22f6f40a1f418811c17f73a15df10 /kernel/cpu_pm.c | |
parent | 917a35605f09c0d16aeb2e92c7fbff562e19a116 (diff) | |
download | linux-0eea08678ebe9f7d8ef98fed974a5bf1a0dd2dd2.tar.bz2 |
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/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions