]> git.baikalelectronics.ru Git - kernel.git/commit
kexec: use file name as the output message prefix
authorMinfei Huang <mnfhuang@gmail.com>
Sat, 7 Nov 2015 00:32:45 +0000 (16:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Nov 2015 01:50:42 +0000 (17:50 -0800)
commitb6c54409f626bfdf11e987d7301a8a3187d3c2c0
tree4843ee44d22a7b7b89a0a033d2e6f4e226c1bdf4
parent3ba459c79c6427a8edc8d631914b04b0b1edf2d0
kexec: use file name as the output message prefix

kexec output message misses the prefix "kexec", when Dave Young split the
kexec code.  Now, we use file name as the output message prefix.

Currently, the format of output message:
[  140.290795] SYSC_kexec_load: hello, world
[  140.291534] kexec: sanity_check_segment_list: hello, world

Ideally, the format of output message:
[   30.791503] kexec: SYSC_kexec_load, Hello, world
[   79.182752] kexec_core: sanity_check_segment_list, Hello, world

Remove the custom prefix "kexec" in output message.

Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Acked-by: Dave Young <dyoung@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kexec.c
kernel/kexec_core.c
kernel/kexec_file.c